refactor: simplify options

This commit is contained in:
leonhard committed 2026-11-23 11:16:00 +01:00
1 parent 216f2cca81
commit 690766ac3f
3 files changed
+46 -52

No files matched your search

+2 -5
View File
@@ -1,12 +1,9 @@
{
config,
lib,
...
}:
{
config = lib.mkIf config.nix-leonhard.graphical.enable {
wayland.windowManager.niri = {
enable = true;
};
wayland.windowManager.niri = {
enable = config.nix-leonhard.graphical.enable;
};
}