nix-config/nixos/_mixins/desktop/i3.nix

28 lines
482 B
Nix
Raw Permalink Normal View History

{ pkgs, ... }: {
# links /libexec from derivations to /run/current-system/sw
environment.pathsToLink = [ "/libexec" ];
services.xserver = {
enable = true;
desktopManager = {
xterm.enable = false;
};
displayManager = {
defaultSession = "none+i3";
};
windowManager.i3 = with pkgs; {
enable = true;
package = i3-gaps;
extraPackages = [
rofi
i3lock
i3blocks
i3status
];
};
};
}