-
Notifications
You must be signed in to change notification settings - Fork 0
/
i3.nix
34 lines (32 loc) · 854 Bytes
/
i3.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{ config, pkgs, lib, ... }:
{
# Enable the X11 windowing system.
services.xserver = {
enable = true;
autorun = true;
layout = "us";
desktopManager = {
xterm.enable = false;
};
windowManager.i3 = {
enable = true;
package = pkgs.i3;
extraPackages = with pkgs; [
dmenu #application launcher most people use
i3status # gives you the default i3 status bar
i3lock #default i3 screen locker
i3blocks #if you are planning on using i3blocks over i3status
lxappearence
];
};
# Enable display manager (light dm)
displayManager = {
defaultSession = "none+i3";
lightdm = {
enable = true;
};
};
# # #windowManager.i3.config = "/etc/nixos/i3/config"; # Path to your i3 configuration
};
programs.dconf.enable = true;
}