diff --git a/hosts/Yura-TPX13/default.nix b/hosts/Yura-TPX13/default.nix index 7c30e87..816e0d2 100644 --- a/hosts/Yura-TPX13/default.nix +++ b/hosts/Yura-TPX13/default.nix @@ -11,6 +11,11 @@ "sysrq_always_enabled=1" ]; + boot.lanzaboote = { + enable = true; + pkiBundle = "/var/lib/sbctl"; + }; + networking.hostName = "Yura-TPX13"; # Define your hostname. networking.hostId = "8425e349"; # Required for ZFS. diff --git a/hosts/common-desktop.nix b/hosts/common-desktop.nix index 3f06707..2b8ae31 100644 --- a/hosts/common-desktop.nix +++ b/hosts/common-desktop.nix @@ -11,11 +11,7 @@ boot.loader = { efi.canTouchEfiVariables = true; timeout = 3; - systemd-boot.enable = false; - }; - boot.lanzaboote = { - enable = true; - pkiBundle = "/var/lib/sbctl"; + systemd-boot.enable = !config.boot.lanzaboote.enable; }; # https://nixos.wiki/wiki/Accelerated_Video_Playback