Split system config into tons of modules!

This commit is contained in:
Emmet 2023-06-20 22:08:25 -05:00
parent 74c00ca4ef
commit 8262f63886
21 changed files with 266 additions and 180 deletions

20
system/wm/xmonad.nix Normal file
View file

@ -0,0 +1,20 @@
{ config, pkgs, ... }:
{
# import X11
imports = [ ./x11.nix
./pipewire.nix
./dbus.nix
];
# Setup XMonad
services.xserver = {
windowManager.xmonad = {
enable = true;
enableContribAndExtras = true;
};
displayManager = {
defaultSession = "none+xmonad";
};
};
}