summary refs log tree commit diff stats
path: root/modules
diff options
context:
space:
mode:
authorAlan Pearce2017-09-09 16:46:57 +0200
committerAlan Pearce2017-09-09 16:49:30 +0200
commitbfecab269ec49fd9ce07812211f95fafab5e11e8 (patch)
treeafec0b8b0e5c919fe095711165003bb47baa8e86 /modules
parent3e054571d73ccacfec7b1d4714bfa74818b7affe (diff)
downloadnixfiles-bfecab269ec49fd9ce07812211f95fafab5e11e8.tar.lz
nixfiles-bfecab269ec49fd9ce07812211f95fafab5e11e8.tar.zst
nixfiles-bfecab269ec49fd9ce07812211f95fafab5e11e8.zip
Add i3 module
Diffstat (limited to 'modules')
-rw-r--r--modules/i3.nix12
-rw-r--r--modules/window-manager.nix15
2 files changed, 27 insertions, 0 deletions
diff --git a/modules/i3.nix b/modules/i3.nix
new file mode 100644
index 00000000..07bf64a2
--- /dev/null
+++ b/modules/i3.nix
@@ -0,0 +1,12 @@
+{ config, pkgs, ... }:
+
+{ services.xserver.windowManager.i3 = {
+    enable = true;
+    package = pkgs.i3-gaps;
+  };
+
+  environment.systemPackages = with pkgs; [
+    i3status
+    i3lock-color
+  ];
+}
diff --git a/modules/window-manager.nix b/modules/window-manager.nix
new file mode 100644
index 00000000..4b6a710f
--- /dev/null
+++ b/modules/window-manager.nix
@@ -0,0 +1,15 @@
+{ config, pkgs, ... }:
+
+{ services.xserver.displayManager = {
+    slim = {
+      enable = true;
+    };
+  };
+
+  environment.systemPackages = with pkgs; [
+    dmenu
+    dunst
+    sxhkd
+    scrot
+  ];
+}