refactor
This commit is contained in:
parent
66c05f9093
commit
45d6f4b0f3
205 changed files with 9040 additions and 342 deletions
modules/nixos/suites/desktop
38
modules/nixos/suites/desktop/default.nix
Normal file
38
modules/nixos/suites/desktop/default.nix
Normal file
|
@ -0,0 +1,38 @@
|
|||
{ 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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue