diff options
author | Profpatsch <mail@profpatsch.de> | 2022-06-27 01:16:23 +0200 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2022-06-27 01:17:24 +0200 |
commit | 9e9ed68fcdf84b69c17f2a077ea038e7a5d28bf5 (patch) | |
tree | a6dc1cfeaa98be15013ceabdc6058d40cf9d23e1 | |
parent | 53e01dbc325e7d58a25a9746be85f6f45f048cbd (diff) |
machines/leguin: fix boot partitions
I had them copied from the wrong module, of course this can’t work. Since the kernel config & boot loader config is now in thinkpad, this might just work (famous last words).
-rw-r--r-- | machines/profpatsch/leguin.nix | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/machines/profpatsch/leguin.nix b/machines/profpatsch/leguin.nix index bc9fed67..c1c6f195 100644 --- a/machines/profpatsch/leguin.nix +++ b/machines/profpatsch/leguin.nix @@ -35,17 +35,18 @@ in }; - boot.loader.grub.device = "/dev/sda"; + boot.initrd.luks.devices.cryptroot.device = "/dev/disk/by-label/root"; - fileSystems = { - "/" = { - device = "/dev/sda3"; - fsType = "ext4"; - }; - "/boot" = { - device = "/dev/sda2"; - fsType = "ext4"; - }; + fileSystems."/" = { + device = "/dev/disk/by-label/nixos"; + fsType = "btrfs"; + options = [ "ssd" "subvol=/root" ]; + }; + + fileSystems."/boot" = { + device = "/dev/disk/by-label/BOOT"; + fsType = "vfat"; + options = ["nofail"]; }; vuizvui.user.profpatsch.server.sshPort = 7001; |