feat(home): enable some configs only on gui systems

This commit is contained in:
2026-08-17 18:10:23 +02:00
parent bf9f97c804
commit c05e660546
2 changed files with 11 additions and 4 deletions
+9 -2
View File
@@ -10,11 +10,18 @@
./fish.nix ./fish.nix
./git.nix ./git.nix
./kitty.nix ./kitty.nix
./mangohud.nix
./tmux.nix ./tmux.nix
./vesktop.nix
./zoxide.nix ./zoxide.nix
] ]
++ (
if currentSystemDe != "none" then
[
./mangohud.nix
./vesktop.nix
]
else
[ ]
)
++ (if currentSystemDe == "gnome" then [ ./gnome.nix ] else [ ]) ++ (if currentSystemDe == "gnome" then [ ./gnome.nix ] else [ ])
++ (if currentSystemDe == "niri" then [ ./niri.nix ] else [ ]); ++ (if currentSystemDe == "niri" then [ ./niri.nix ] else [ ]);
+2 -2
View File
@@ -1,7 +1,7 @@
{ pkgs, currentSystemDe, ... }: { pkgs, ... }:
{ {
programs.kitty = { programs.kitty = {
enable = currentSystemDe != "none"; enable = true;
themeFile = "Catppuccin-Mocha"; themeFile = "Catppuccin-Mocha";
extraConfig = " "; extraConfig = " ";
enableGitIntegration = true; enableGitIntegration = true;