24 lines
551 B
Nix
24 lines
551 B
Nix
|
{ config, lib, pkgs, ... }:
|
||
|
|
||
|
{
|
||
|
# Define the i3 window manager configuration
|
||
|
services.xserver.windowManager.i3 = {
|
||
|
enable = true;
|
||
|
extraPackages = with pkgs; [ i3status dmenu ];
|
||
|
config = ''
|
||
|
# i3 configuration options go here
|
||
|
# For example:
|
||
|
# set $mod Mod4
|
||
|
# exec_always --no-startup-id feh --bg-fill /path/to/wallpaper.jpg
|
||
|
'';
|
||
|
};
|
||
|
|
||
|
# Set the default session to i3
|
||
|
services.xserver = {
|
||
|
displayManager.session = "none";
|
||
|
windowManager.default = "i3";
|
||
|
layout = "us";
|
||
|
xkbVariant = "";
|
||
|
};
|
||
|
}
|