Make systemdboot optional
This commit is contained in:
parent
4afd999894
commit
8c19df773b
4 changed files with 11 additions and 3 deletions
|
|
@ -20,6 +20,14 @@
|
|||
'';
|
||||
};
|
||||
|
||||
useSystemdBootloader = lib.mkOption {
|
||||
default = true;
|
||||
example = false;
|
||||
description = ''
|
||||
use systemd bootloader.
|
||||
'';
|
||||
};
|
||||
|
||||
cpu = lib.mkOption {
|
||||
# TODO: how to enable arm?
|
||||
default = "amd";
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@
|
|||
} --config /etc/greetd/hyprgreet.conf";
|
||||
example = "${
|
||||
lib.getExe pkgs.cage
|
||||
} -s -- ${lib.getEze pkgs.regreet}";
|
||||
} -s -- ${lib.getExe pkgs.regreet}";
|
||||
type = lib.types.str;
|
||||
description = "The compositor/greeter command to run";
|
||||
};
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
};
|
||||
};
|
||||
config = lib.mkIf config.mods.sway.enable (
|
||||
lib.optionalAttrs (options ? wayland.windowManger) {
|
||||
lib.optionalAttrs (options ? wayland.windowManger.sway) {
|
||||
wayland.windowManager.sway =
|
||||
{
|
||||
enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue