feat(nix): Move all the gui stuff behind a bool

This commit is contained in:
uttarayan21
2024-04-04 21:51:27 +05:30
parent ae43c82e5c
commit 03a24ae5e6
13 changed files with 75 additions and 43 deletions

33
common/gui.nix Normal file
View File

@@ -0,0 +1,33 @@
{
pkgs,
device,
lib,
...
}:
lib.attrsets.optionalAttrs device.hasGui {
home.packages = with pkgs;
[]
++ lib.optionals device.isLinux [
ferdium
psst
sony-headphones-client
abaddon
catppuccinThemes.gtk
catppuccinThemes.papirus-folders
gnome.seahorse
gnome.nautilus
nextcloud-client
gparted
polkit_gnome
mullvad-vpn
mullvad-closest
mullvad-browser
steam-run
webcord-vencord
spotify
wl-clipboard
];
}