chore: only include gui-programs when running gui

This commit is contained in:
uttarayan21
2025-02-24 23:00:27 +05:30
parent 1c2bb6961d
commit a4235cbbf4
2 changed files with 12 additions and 13 deletions

View File

@@ -3,15 +3,13 @@
device,
...
}: {
imports =
[]
++ (lib.optionals device.hasGui [
./cursor.nix
./firefox.nix
./ghostty.nix
./kitty.nix
./vscode.nix
./wezterm.nix
./mpv.nix
]);
imports = [
./cursor.nix
./firefox.nix
./ghostty.nix
./kitty.nix
./vscode.nix
./wezterm.nix
./mpv.nix
];
}