diff options
| author | spl3g <spleefer6@yandex.ru> | 2024-04-20 20:24:36 +0300 |
|---|---|---|
| committer | spl3g <spleefer6@yandex.ru> | 2025-05-01 14:58:53 +0300 |
| commit | f5970d988c68ae1d2ac56f0a35324cd442a26be7 (patch) | |
| tree | 3c7fa7d524c7337c3b999fd577081a1230690072 /nixos/nixosModules/stylix.nix | |
| parent | ec0e9896dcc0c88ef49d2b2bf8126498d3c2acec (diff) | |
add modules
Diffstat (limited to 'nixos/nixosModules/stylix.nix')
| -rw-r--r-- | nixos/nixosModules/stylix.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/nixos/nixosModules/stylix.nix b/nixos/nixosModules/stylix.nix new file mode 100644 index 0000000..7daab8e --- /dev/null +++ b/nixos/nixosModules/stylix.nix @@ -0,0 +1,24 @@ +{ pkgs, config, lib, outputs, ... }: + +{ + options = { + stylix.enable = lib.mkEnableOption "enable stylix"; + }; + config = lib.mkIf config.stylix.enable { + stylix = with outputs.homeConfigurations."jerpo@ltrr-mini".config.stylix; { + image = image; + base16Scheme = base16Scheme; + autoEnable = false; + targets.console.enable = true; + fonts = with fonts; { + serif = serif; + + sansSerif = sansSerif; + + monospace = monospace; + + emoji = emoji; + }; + }; + }; +} |
