mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
feat: move guiPkgs to gui.nix
This commit is contained in:
parent
29839e9f5b
commit
fe43e44718
2 changed files with 104 additions and 115 deletions
|
|
@ -5,44 +5,8 @@
|
|||
config,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
guiPkgs =
|
||||
if (config.liv.gui == true) then
|
||||
[
|
||||
element-desktop
|
||||
gajim
|
||||
signal-desktop
|
||||
anki-bin
|
||||
obs-studio
|
||||
wdisplays
|
||||
librewolf # main
|
||||
ungoogled-chromium # for things that don't work with librewolf
|
||||
nsxiv
|
||||
imv
|
||||
libreoffice
|
||||
xfce.thunar
|
||||
spotify
|
||||
spotify-player
|
||||
thunderbird
|
||||
lxqt.pavucontrol-qt
|
||||
mpv
|
||||
plasma5Packages.kdeconnect-kde
|
||||
winbox
|
||||
# onthespot-overlay
|
||||
|
||||
# Gaming
|
||||
lunar-client
|
||||
]
|
||||
else
|
||||
[
|
||||
killall
|
||||
];
|
||||
in
|
||||
{
|
||||
home.packages =
|
||||
with pkgs;
|
||||
[
|
||||
home.packages = with pkgs; [
|
||||
# Environment shit
|
||||
tesseract
|
||||
yubikey-touch-detector
|
||||
|
|
@ -123,6 +87,5 @@ in
|
|||
khard
|
||||
khal
|
||||
vdirsyncer
|
||||
]
|
||||
++ guiPkgs;
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,5 +21,31 @@ in
|
|||
gnome.gnome-keyring.enable = true;
|
||||
dbus.enable = true;
|
||||
};
|
||||
|
||||
home-manager.users.${username}.home.packages = with pkgs; [
|
||||
element-desktop
|
||||
gajim
|
||||
signal-desktop
|
||||
anki-bin
|
||||
obs-studio
|
||||
wdisplays
|
||||
librewolf # main
|
||||
ungoogled-chromium # for things that don't work with librewolf
|
||||
nsxiv
|
||||
imv
|
||||
libreoffice
|
||||
xfce.thunar
|
||||
spotify
|
||||
spotify-player
|
||||
thunderbird
|
||||
lxqt.pavucontrol-qt
|
||||
mpv
|
||||
plasma5Packages.kdeconnect-kde
|
||||
winbox
|
||||
# onthespot-overlay
|
||||
|
||||
# Gaming
|
||||
lunar-client
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue