diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-05-12 13:51:56 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-05-12 13:51:56 +0200 |
commit | 7ff60a47f014efd8dcc216d2430ece9b177e56e5 (patch) | |
tree | 266943434b0c771d050d005d084bf246d283e779 /sys/boot/default.nix | |
parent | fix(sys/boot): Always update the config-file (diff) | |
download | nixos-config-7ff60a47f014efd8dcc216d2430ece9b177e56e5.tar.gz nixos-config-7ff60a47f014efd8dcc216d2430ece9b177e56e5.zip |
fix(sys/boot): Restore the bootsetup to the status quo
Having a read-only ISO (preferably tails) ready to test things is quite cool, but actually setting this up requires an EFI partition that can store the 1+ GB ISO. Thus, this change needs to be deferred until a disk reinstall can be made.
Diffstat (limited to '')
-rw-r--r-- | sys/boot/default.nix | 24 |
1 files changed, 5 insertions, 19 deletions
diff --git a/sys/boot/default.nix b/sys/boot/default.nix index 1a849fbb..e5d05f31 100644 --- a/sys/boot/default.nix +++ b/sys/boot/default.nix @@ -49,23 +49,11 @@ cfg.extraEntries)} ''; in { - system.activationScripts = { - copyExtraFilesForBoot = copyExtraFiles; - }; - - # Help lanzaboote with the filesystems - # source: https://github.com/nix-community/lanzaboote/issues/173#issuecomment-1532386210 - # TODO: Remove this workaround <2024-05-11> - fileSystems = { - "/efi/EFI/Linux" = { - device = "/boot/EFI/Linux"; - options = ["bind"]; - }; - "/efi/EFI/nixos" = { - device = "/boot/EFI/nixos"; - options = ["bind"]; - }; - }; + # FIXME: Reactviate this whole iso thing when a disko redeploy is done. + # (and switch to tails instead of arch)<2024-05-12> + # system.activationScripts = { + # copyExtraFilesForBoot = copyExtraFiles; + # }; boot = { initrd = { @@ -94,8 +82,6 @@ in { # for now. enable = false; - xbootldrMountPoint = "/boot"; - extraEntries = { "live.conf" = '' title Archlinux Live ISO |