diff options
author | Leonardo Santiago <[email protected]> | 2024-09-12 21:44:46 -0300 |
---|---|---|
committer | Leonardo Santiago <[email protected]> | 2024-09-12 23:20:51 -0300 |
commit | 62100c9265a4de389d1ea8060cbddddacde161a7 (patch) | |
tree | 811ca1c5803ccdb2670f0c239214bc0dc30f57c7 /modules/desktop-environment.nix | |
parent | f9ddec7952709d7b5d5d79deadca07c573510d49 (diff) |
split users/leonardo.nix into modules with options
in order to be able to deploy just a few of those to iori.nix
Diffstat (limited to 'modules/desktop-environment.nix')
-rw-r--r-- | modules/desktop-environment.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/modules/desktop-environment.nix b/modules/desktop-environment.nix new file mode 100644 index 0000000..c9408d9 --- /dev/null +++ b/modules/desktop-environment.nix @@ -0,0 +1,25 @@ +{ config, lib, pkgs, ... }: with lib; { + options.santi-modules.desktop-environment.enable = mkEnableOption "Enable default desktop-environment"; + config = mkIf config.santi-modules.desktop-environment.enable { + santi-modules = { + font-config.enable = true; + emacs.enable = true; + gnome.enable = true; + games.enable = true; + mu.enable = true; + default-user.enable = true; + firefox.enable = true; + basic.enable = true; + }; + + services.printing.enable = true; + hardware.pulseaudio.enable = false; + security.rtkit.enable = true; + services.pipewire = { + enable = true; + alsa.enable = true; + alsa.support32Bit = true; + pulse.enable = true; + }; + }; +} |