feat: easy theme switching with stylix, specialisations, and a rofi script; feat: switch to kitty terminal
This commit is contained in:
@@ -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
|
||||
'';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user