mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
switch dev vm config to EFI
This commit is contained in:
parent
c1421554c6
commit
d48383488a
1 changed files with 4 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue