Add all of iogamaster modules
This commit is contained in:
43
modules/nixos/suites/desktop/default.nix
Normal file
43
modules/nixos/suites/desktop/default.nix
Normal file
@@ -0,0 +1,43 @@
|
||||
{
|
||||
options,
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
with lib.frajul;
|
||||
let
|
||||
cfg = config.suites.desktop;
|
||||
in
|
||||
{
|
||||
options.suites.desktop = with types; {
|
||||
enable = mkBoolOpt false "Enable the desktop suite";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
desktop.hyprland.enable = true;
|
||||
apps.firefox.enable = true;
|
||||
apps.discord.enable = true;
|
||||
|
||||
apps.tools.gnupg.enable = true;
|
||||
apps.pass.enable = true;
|
||||
|
||||
suites.common.enable = true;
|
||||
|
||||
services.flatpak.enable = true;
|
||||
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
displayManager.gdm.enable = true;
|
||||
};
|
||||
|
||||
environment.persist.directories = [ "/etc/gdm" ];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
cinnamon.nemo
|
||||
xclip
|
||||
xarchiver
|
||||
];
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user