refactor: simplify options
This commit is contained in:
1 parent
216f2cca81
commit
690766ac3f
3 files changed
+46
-52
No files matched your search
+2
-5
@@ -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;
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user