modularize desktop components

This commit is contained in:
2024-04-13 16:42:51 +02:00
parent d3da8ba3ac
commit e0176ec2d9
14 changed files with 141 additions and 96 deletions

View File

@@ -0,0 +1,13 @@
{ lib, config, ... }:
let
cfg = config.desktop.dm;
in
{
config = lib.mkIf (cfg.name == "sddm") {
services.xserver.displayManager.sddm = {
enable = true;
wayland.enable = cfg.wayland;
};
};
}