summaryrefslogtreecommitdiff
path: root/modules/desktop-environment.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/desktop-environment.nix')
-rw-r--r--modules/desktop-environment.nix25
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;
+ };
+ };
+}