home: move a bunch of settings to defaultDesktopPack and baseline

also rename `apps` namespace to `programs`
This commit is contained in:
Fabian Montero 2025-09-15 02:51:04 -06:00
parent 9f38ea87a6
commit d94b776ed9
19 changed files with 86 additions and 142 deletions

View file

@ -5,16 +5,23 @@
...
}:
with lib; let
cfg = config.local.apps.defaultDesktopPack;
cfg = config.local.defaultDesktopPack;
in {
options.local.apps.defaultDesktopPack = {
enable = mkEnableOption "common desktop apps";
options.local.defaultDesktopPack = {
enable = mkEnableOption "common desktop programs and services";
};
config = mkIf cfg.enable {
home.packages = with pkgs; [
calibre
chromium
discord
(gajim.override {
enableSecrets = true;
enableUPnP = true;
enableAppIndicator = true;
enableE2E = true;
enableRST = true;
})
libreoffice-fresh
mpv
obs-studio
@ -22,13 +29,30 @@ in {
pdfarranger
qimgv
qpdfview
qbittorrent
runelite
spotify
tdesktop
thunderbird
usbutils
vpsfree-client
vscodium-fhs
zola
];
local = {
services = {
gpg.enable = true;
accounts.enable = true;
pass.enable = true;
syncthing.enable = true;
};
programs = {
firefox.enable = true;
zed.enable = true;
halloy.enable = true;
terminal.enable = true;
};
};
};
}