From 8b19ff94701255de83d0a99f853784854260f5ff Mon Sep 17 00:00:00 2001 From: Myned Date: Thu, 26 Dec 2024 00:25:24 -0500 Subject: [PATCH] stylix: initial disabled setting Signed-off-by: Myned --- options/custom/settings/default.nix | 1 + options/custom/settings/stylix.nix | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 options/custom/settings/stylix.nix diff --git a/options/custom/settings/default.nix b/options/custom/settings/default.nix index 39726d1..c4f7c66 100644 --- a/options/custom/settings/default.nix +++ b/options/custom/settings/default.nix @@ -20,6 +20,7 @@ with lib; { fonts.enable = true; gtk.enable = true; qt.enable = true; + #// stylix.enable = true; xdg.enable = true; }) diff --git a/options/custom/settings/stylix.nix b/options/custom/settings/stylix.nix new file mode 100644 index 0000000..553ef64 --- /dev/null +++ b/options/custom/settings/stylix.nix @@ -0,0 +1,19 @@ +{ + config, + lib, + ... +}: +with lib; let + cfg = config.custom.settings.stylix; +in { + options.custom.settings.stylix = { + enable = mkOption {default = false;}; + }; + + config = mkIf cfg.enable { + # https://stylix.danth.me/ + stylix = { + enable = true; + }; + }; +}