all repos — nixfiles @ bfecab269ec49fd9ce07812211f95fafab5e11e8

System and user configuration, managed by nix and home-manager

Add i3 module

Alan Pearce
commit

bfecab269ec49fd9ce07812211f95fafab5e11e8

parent

3e054571d73ccacfec7b1d4714bfa74818b7affe

3 files changed, 28 insertions(+), 0 deletions(-)

jump to
A 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 + ]; +}
A modules/window-manager.nix
@@ -0,0 +1,15 @@
+{ config, pkgs, ... }: + +{ services.xserver.displayManager = { + slim = { + enable = true; + }; + }; + + environment.systemPackages = with pkgs; [ + dmenu + dunst + sxhkd + scrot + ]; +}
M satoshipad.nixsatoshipad.nix
@@ -30,6 +30,7 @@ ./modules/accounting.nix
./modules/passwords.nix ./modules/network-manager.nix ./modules/nix.nix + ./modules/i3.nix ]; boot.initrd.luks.devices = [