31 lines
648 B
Nix
31 lines
648 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
# Define the i3 window manager configuration
|
|
services.xserver = {
|
|
enable = true;
|
|
|
|
desktopManager = {
|
|
xterm.enable = false;
|
|
};
|
|
|
|
displayManager = {
|
|
defaultSession = "none+i3";
|
|
};
|
|
|
|
windowManager.i3 = {
|
|
enable = true;
|
|
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
|
|
];
|
|
};
|
|
|
|
# windowManager.default = "i3";
|
|
layout = "us";
|
|
xkbVariant = "";
|
|
};
|
|
}
|