added i3 and fixed deps errors when rebuilding

This commit is contained in:
voidarclabs
2026-01-17 13:37:16 +00:00
parent f7461269ac
commit 065ad7bf77
4 changed files with 35 additions and 6 deletions

26
modules/i3/i3.nix Normal file
View File

@@ -0,0 +1,26 @@
{
config,
lib,
pkgs,
inputs,
...
}:
{
services.displayManager.defaultSession = "hyprland";
services.xserver = {
enable = true;
desktopManager = {
xterm.enable = false;
};
windowManager.i3 = {
enable = true;
extraPackages = with pkgs; [
dmenu # application launcher most people use
i3status # gives you the default i3 status bar
xorg.xinit
];
};
};
}