mirror of
https://github.com/Superredstone/nixos.git
synced 2026-08-19 11:48:57 +02:00
feat(home): enable some configs only on gui systems
This commit is contained in:
+9
-2
@@ -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
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user