about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--modules/desktop/i3.nix19
-rw-r--r--modules/desktop/xserver.nix4
2 files changed, 19 insertions, 4 deletions
diff --git a/modules/desktop/i3.nix b/modules/desktop/i3.nix
new file mode 100644
index 0000000..aecbf63
--- /dev/null
+++ b/modules/desktop/i3.nix
@@ -0,0 +1,19 @@
+{ config, pkgs, lib, ... }:
+
+{
+  services.xserver.windowManager = {
+    i3.enable = true;
+  };
+
+  programs.rofi = {
+    enable = true;
+    theme = "purple";
+
+    extraConfig = {
+      modi = "drun";
+      show-icons = true;
+      icon-theme = "Numix-Square";
+      combi-modi = "window,drun,ssh";
+    };
+  };
+}
diff --git a/modules/desktop/xserver.nix b/modules/desktop/xserver.nix
index 8aed737..a26dc56 100644
--- a/modules/desktop/xserver.nix
+++ b/modules/desktop/xserver.nix
@@ -15,9 +15,5 @@
       defaultSession = "none+i3";
       lightdm.enable = true;
     };
-
-    windowManager = {
-      i3.enable = true;
-    };
   };
 }