make lanzaboote optional
This commit is contained in:
@@ -11,6 +11,11 @@
|
|||||||
"sysrq_always_enabled=1"
|
"sysrq_always_enabled=1"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
boot.lanzaboote = {
|
||||||
|
enable = true;
|
||||||
|
pkiBundle = "/var/lib/sbctl";
|
||||||
|
};
|
||||||
|
|
||||||
networking.hostName = "Yura-TPX13"; # Define your hostname.
|
networking.hostName = "Yura-TPX13"; # Define your hostname.
|
||||||
networking.hostId = "8425e349"; # Required for ZFS.
|
networking.hostId = "8425e349"; # Required for ZFS.
|
||||||
|
|
||||||
|
|||||||
@@ -11,11 +11,7 @@
|
|||||||
boot.loader = {
|
boot.loader = {
|
||||||
efi.canTouchEfiVariables = true;
|
efi.canTouchEfiVariables = true;
|
||||||
timeout = 3;
|
timeout = 3;
|
||||||
systemd-boot.enable = false;
|
systemd-boot.enable = !config.boot.lanzaboote.enable;
|
||||||
};
|
|
||||||
boot.lanzaboote = {
|
|
||||||
enable = true;
|
|
||||||
pkiBundle = "/var/lib/sbctl";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# https://nixos.wiki/wiki/Accelerated_Video_Playback
|
# https://nixos.wiki/wiki/Accelerated_Video_Playback
|
||||||
|
|||||||
Reference in New Issue
Block a user