dotfiles-nixos/nixos/i3.nix

24 lines
551 B
Nix
Raw Normal View History

2023-06-06 15:01:28 +00:00
{ 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 = "";
};
}