diff --git a/os/linux/nix/machines/musicbox-disks.nix b/os/linux/nix/machines/musicbox-disks.nix index abfed2b..885040d 100644 --- a/os/linux/nix/machines/musicbox-disks.nix +++ b/os/linux/nix/machines/musicbox-disks.nix @@ -1,7 +1,8 @@ { disks ? [ "/dev/vda" ], ... }: { disko.devices = { disk = { - vdb = { + # TODO: would be nice to give this a good name? + primary = { type = "disk"; device = builtins.elemAt disks 0; content = { diff --git a/os/linux/nix/machines/musicbox.nix b/os/linux/nix/machines/musicbox.nix index 01877ef..6c0cb92 100644 --- a/os/linux/nix/machines/musicbox.nix +++ b/os/linux/nix/machines/musicbox.nix @@ -40,7 +40,8 @@ in nix.settings.experimental-features = [ "nix-command" "flakes" ]; - # TODO: bootloader? grub since seemingly no uefi? + boot.loader.systemd-boot.enable = true; + boot.loader.efi.canTouchEfiVariables = true; nixpkgs.config = { allowUnfree = true;