add wallpapers to assets, fix nh cleaning job, reenable stylix
This commit is contained in:
13 files changed
+71
-46
No files matched your search
@@ -1,6 +1,12 @@
|
||||
{ inputs, self, ... }: {
|
||||
imports = [ (inputs.helpers.mkMirroredModulesFlakeModule "graphicsOptions" ({ lib, ... }: {
|
||||
options.features.nixos.stylix.enable = lib.mkEnableOption "Stylix";
|
||||
options.features.nixos.stylix = {
|
||||
enable = lib.mkEnableOption "Stylix";
|
||||
image = lib.mkOption {
|
||||
type = lib.types.path;
|
||||
default = /home/grey/Pictures/wallpaper.png;
|
||||
};
|
||||
};
|
||||
})) ];
|
||||
|
||||
flake.nixosModules.graphics = { pkgs, lib, config, ... }: {
|
||||
@@ -10,7 +16,7 @@
|
||||
|
||||
stylix = lib.mkIf (config.features.nixos.stylix.enable) {
|
||||
enable = true;
|
||||
image = builtins.path { path = "${self}/modules/hosts/${config.info.hostName}/wallpaper.jpg"; };
|
||||
image = config.features.nixos.stylix.image;
|
||||
polarity = "dark";
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user