feat: easy theme switching with stylix, specialisations, and a rofi script; feat: switch to kitty terminal

This commit is contained in:
2025-12-18 20:49:12 -05:00
parent d708b43395
commit f082e5a1d3
8 changed files with 36 additions and 15 deletions
+9 -1
View File
@@ -1,7 +1,8 @@
{
inputs,
pkgs,
lib,
pkgs,
userName,
...
}:
let
@@ -71,4 +72,11 @@ in
gruvbox-dark-hard.configuration.stylix = lib.mkForce (makeTheme "gruvbox-dark-hard" "dark");
heetch.configuration.stylix = lib.mkForce (makeTheme "heetch" "dark");
};
security.sudo.extraConfig = ''
${userName} ALL = (root) NOPASSWD: /nix/var/nix/profiles/system/specialisation/catppuccin-mocha/bin/switch-to-configuration
${userName} ALL = (root) NOPASSWD: /nix/var/nix/profiles/system/specialisation/catppuccin-latte/bin/switch-to-configuration
${userName} ALL = (root) NOPASSWD: /nix/var/nix/profiles/system/specialisation/gruvbox-dark-hard/bin/switch-to-configuration
${userName} ALL = (root) NOPASSWD: /nix/var/nix/profiles/system/specialisation/heetch/bin/switch-to-configuration
'';
}