nixcfg/modules/nixos/suites/desktop/default.nix
2024-01-11 10:31:04 +00:00

39 lines
696 B
Nix

{ options
, config
, lib
, pkgs
, ...
}:
with lib;
with lib.plusultra; let
cfg = config.plusultra.suites.desktop;
in
{
options.plusultra.suites.desktop = with types; {
enable =
mkBoolOpt false "Whether or not to enable common desktop configuration.";
};
config = mkIf cfg.enable {
plusultra = {
desktop = {
gnome = enabled;
addons = { wallpapers = enabled; };
};
apps = {
_1password = enabled;
firefox = enabled;
vlc = enabled;
logseq = enabled;
hey = enabled;
pocketcasts = enabled;
yt-music = enabled;
twitter = enabled;
gparted = enabled;
};
};
};
}