diff options
author | Silas Schöffel <sils@sils.li> | 2024-04-04 16:33:47 +0200 |
---|---|---|
committer | Silas Schöffel <sils@sils.li> | 2024-04-04 16:33:47 +0200 |
commit | bbd4ce79a80c61f2e377e55d9123a93fb9fbbc3e (patch) | |
tree | 2dbca425d0d8a5427763a52dde52fd516a424601 /modules/nixos | |
parent | nixvim: remove cmp.settings.preselect (diff) | |
download | nix-config-bbd4ce79a80c61f2e377e55d9123a93fb9fbbc3e.tar.gz nix-config-bbd4ce79a80c61f2e377e55d9123a93fb9fbbc3e.zip |
treewide: add stylix
Diffstat (limited to '')
-rw-r--r-- | modules/nixos/sils/default.nix | 1 | ||||
-rw-r--r-- | modules/nixos/sils/theming.nix | 15 |
2 files changed, 16 insertions, 0 deletions
diff --git a/modules/nixos/sils/default.nix b/modules/nixos/sils/default.nix index 38d83a6..4db5358 100644 --- a/modules/nixos/sils/default.nix +++ b/modules/nixos/sils/default.nix @@ -3,5 +3,6 @@ ./basesystem.nix ./meta.nix ./plymouth.nix + ./theming.nix ]; } diff --git a/modules/nixos/sils/theming.nix b/modules/nixos/sils/theming.nix new file mode 100644 index 0000000..4ddaa62 --- /dev/null +++ b/modules/nixos/sils/theming.nix @@ -0,0 +1,15 @@ +{ + config, + lib, + ... +}: let + cfg = config.sils.theming; +in { + options.sils.theming.enable = lib.mkEnableOption "theming"; + config = lib.mkIf cfg.enable { + stylix = { + image = ../../../files/wallpaper.jpg; + polarity = "dark"; + }; + }; +} |