Install as efi removable

This commit is contained in:
Zuckerberg 2022-04-20 22:51:14 -04:00
parent fe48d7b009
commit 2cd7f12a75
2 changed files with 5 additions and 4 deletions

View File

@ -5,16 +5,17 @@
./hardware-configuration.nix ./hardware-configuration.nix
]; ];
# oouao6kfyrirxuuyn6d7nzebyyuyrdnoxunjec2pz25zxqmsptlfgqqd.onion # un23pkwc3ij7pugl4uiwvdrjjw7xghxbkzppgn3siubqggchbosi6cyd.onion
networking.hostName = "ponyo"; networking.hostName = "ponyo";
firmware.x86_64.enable = true; firmware.x86_64.enable = true;
efi.enable = true; efi.enable = true;
boot.loader.grub.efiInstallAsRemovable = true;
luks = { luks = {
enable = true; enable = true;
device.path = "/dev/disk/by-uuid/4f5cd792-716a-4dbb-9a1d-dd7b37948acc"; device.path = "/dev/disk/by-uuid/84eaca59-6b03-47b1-9296-9d4736bcf0e0";
}; };
system.autoUpgrade.enable = true; system.autoUpgrade.enable = true;

View File

@ -16,13 +16,13 @@
}; };
fileSystems."/boot" = fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/396E-1E13"; { device = "/dev/disk/by-uuid/4CB6-D9F3";
fsType = "vfat"; fsType = "vfat";
}; };
swapDevices = [ swapDevices = [
{ {
device = "/dev/sdb2"; device = "/dev/disk/by-partuuid/af3c7ed6-9cc6-8241-bc36-8e1aff5c1a34";
randomEncryption.enable = true; randomEncryption.enable = true;
} }
]; ];