summary refs log tree commit diff stats
path: root/modules/nixos
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--modules/nixos/sils/default.nix1
-rw-r--r--modules/nixos/sils/theming.nix15
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";
+    };
+  };
+}