summary refs log tree commit diff stats
path: root/desktop
diff options
context:
space:
mode:
authorsils <sils@sils.li>2022-12-27 13:31:20 +0100
committersils <sils@sils.li>2022-12-27 13:32:49 +0100
commitc794d80c82d3b8da66cfee681ab303bd94aa3b14 (patch)
tree73290276a86288bbe9288f8e0c4f6a0bd21680ed /desktop
parentadded xfce (diff)
downloadnix-config-c794d80c82d3b8da66cfee681ab303bd94aa3b14.tar.gz
nix-config-c794d80c82d3b8da66cfee681ab303bd94aa3b14.zip
move desktop options in desktop
Diffstat (limited to 'desktop')
-rw-r--r--desktop/gnome.nix9
-rw-r--r--desktop/plasma.nix9
-rw-r--r--desktop/xfce.nix11
3 files changed, 29 insertions, 0 deletions
diff --git a/desktop/gnome.nix b/desktop/gnome.nix
new file mode 100644
index 0000000..505be78
--- /dev/null
+++ b/desktop/gnome.nix
@@ -0,0 +1,9 @@
+{ config, pkgs, ... }:
+
+{
+  services.xserver.enable = true;
+
+  services.xserver.displayManager.gdm.enable = true;
+  services.xserver.desktopManager.gnome.enable = true;
+
+}
diff --git a/desktop/plasma.nix b/desktop/plasma.nix
new file mode 100644
index 0000000..412e3d3
--- /dev/null
+++ b/desktop/plasma.nix
@@ -0,0 +1,9 @@
+{ config, pkgs, ... }:
+
+{
+	services.xserver = {
+		enable = true;
+		displayManager.sddm.enable = true;
+		desktopManager.plasma5.enable = true;
+	};
+}
diff --git a/desktop/xfce.nix b/desktop/xfce.nix
new file mode 100644
index 0000000..db2b65c
--- /dev/null
+++ b/desktop/xfce.nix
@@ -0,0 +1,11 @@
+{ config, pkgs, ... }:
+
+{
+	services = {
+		blueman.enable = true;
+		xserver = {
+			enable = true;
+			desktopManager.xfce.enable = true;
+		};
+	};
+}