fix displayManager deprecation

This commit is contained in:
Patrick Neff 2024-04-14 15:48:04 +02:00
parent 54b5e8f785
commit 6d7dfe8ddd
1 changed files with 20 additions and 18 deletions

View File

@ -9,9 +9,8 @@
./i18n.nix
];
config = {
services.xserver = lib.mkIf config.desktop.enable {
enable = true;
config = lib.mkIf config.desktop.enable {
services = {
displayManager = {
sddm.enable = true;
autoLogin = {
@ -20,6 +19,8 @@
};
defaultSession = "none+awesome";
};
xserver = {
enable = true;
windowManager.awesome = {
enable = true;
luaModules = with pkgs.luaPackages; [
@ -42,4 +43,5 @@
};
};
};
};
}