summary refs log tree commit diff stats
path: root/sys/desktop
diff options
context:
space:
mode:
Diffstat (limited to 'sys/desktop')
-rw-r--r--sys/desktop/gnome/default.nix6
-rw-r--r--sys/desktop/plasma/default.nix14
-rw-r--r--sys/desktop/xfce/default.nix9
3 files changed, 29 insertions, 0 deletions
diff --git a/sys/desktop/gnome/default.nix b/sys/desktop/gnome/default.nix
new file mode 100644
index 0000000..dbeb0f6
--- /dev/null
+++ b/sys/desktop/gnome/default.nix
@@ -0,0 +1,6 @@
+{...}: {
+  services.xserver.enable = true;
+
+  services.xserver.displayManager.gdm.enable = true;
+  services.xserver.desktopManager.gnome.enable = true;
+}
diff --git a/sys/desktop/plasma/default.nix b/sys/desktop/plasma/default.nix
new file mode 100644
index 0000000..4198029
--- /dev/null
+++ b/sys/desktop/plasma/default.nix
@@ -0,0 +1,14 @@
+{pkgs, ...}: {
+  services.xserver = {
+    enable = true;
+    displayManager.sddm.enable = true;
+    desktopManager.plasma5 = {
+      enable = true;
+      excludePackages = with pkgs.libsForQt5; [
+        kwallet
+        kwallet-pam
+        kwalletmanager
+      ];
+    };
+  };
+}
diff --git a/sys/desktop/xfce/default.nix b/sys/desktop/xfce/default.nix
new file mode 100644
index 0000000..b0de71a
--- /dev/null
+++ b/sys/desktop/xfce/default.nix
@@ -0,0 +1,9 @@
+{...}: {
+  services = {
+    blueman.enable = true;
+    xserver = {
+      enable = true;
+      desktopManager.xfce.enable = true;
+    };
+  };
+}