From bfecab269ec49fd9ce07812211f95fafab5e11e8 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 9 Sep 2017 16:46:57 +0200 Subject: Add i3 module --- modules/i3.nix | 12 ++++++++++++ modules/window-manager.nix | 15 +++++++++++++++ satoshipad.nix | 1 + 3 files changed, 28 insertions(+) create mode 100644 modules/i3.nix create mode 100644 modules/window-manager.nix diff --git a/modules/i3.nix b/modules/i3.nix new file mode 100644 index 0000000..07bf64a --- /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 0000000..4b6a710 --- /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 + ]; +} diff --git a/satoshipad.nix b/satoshipad.nix index 36e0331..4414bb2 100644 --- a/satoshipad.nix +++ b/satoshipad.nix @@ -30,6 +30,7 @@ ./modules/passwords.nix ./modules/network-manager.nix ./modules/nix.nix + ./modules/i3.nix ]; boot.initrd.luks.devices = [ -- cgit 1.4.1