39 lines
696 B
Nix
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;
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|