diff --git a/hosts/vm/configuration.nix b/hosts/vm/configuration.nix index 2822611..8082cfb 100644 --- a/hosts/vm/configuration.nix +++ b/hosts/vm/configuration.nix @@ -1,8 +1,10 @@ { config, ... }: { sconfig.profile = "server"; - boot.loader.grub.device = "/dev/vda"; - fileSystems."/" = { device = "/dev/vda1"; fsType = "ext4"; }; + boot.loader.systemd-boot.enable = true; + boot.loader.efi.canTouchEfiVariables = true; + fileSystems."/" = { device = "/dev/disk/by-partlabel/_root"; fsType = "ext4"; }; + fileSystems."/boot" = { device = "/dev/disk/by-partlabel/_esp"; fsType = "vfat"; }; security.sudo.wheelNeedsPassword = false; users.users.root.openssh.authorizedKeys = config.users.users.sean.openssh.authorizedKeys; }