add wallpapers to assets, fix nh cleaning job, reenable stylix

This commit is contained in:
greyweather committed 2026-09-19 01:18:19 +01:00
1 parent ee1161ecd1
commit 6d643646eb
13 files changed
+71 -46

No files matched your search

+8 -2
View File
@@ -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";
};