mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-11-09 18:47:02 +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, ... }:
|
{ config, ... }:
|
||||||
{
|
{
|
||||||
sconfig.profile = "server";
|
sconfig.profile = "server";
|
||||||
boot.loader.grub.device = "/dev/vda";
|
boot.loader.systemd-boot.enable = true;
|
||||||
fileSystems."/" = { device = "/dev/vda1"; fsType = "ext4"; };
|
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;
|
security.sudo.wheelNeedsPassword = false;
|
||||||
users.users.root.openssh.authorizedKeys = config.users.users.sean.openssh.authorizedKeys;
|
users.users.root.openssh.authorizedKeys = config.users.users.sean.openssh.authorizedKeys;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue