From bbd4ce79a80c61f2e377e55d9123a93fb9fbbc3e Mon Sep 17 00:00:00 2001 From: Silas Schöffel Date: Thu, 4 Apr 2024 16:33:47 +0200 Subject: treewide: add stylix --- modules/nixos/sils/default.nix | 1 + modules/nixos/sils/theming.nix | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 modules/nixos/sils/theming.nix (limited to 'modules') 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"; + }; + }; +} -- cgit 1.4.1