nixos-config/hosts/vm/configuration.nix
2021-05-03 11:26:05 -04:00

10 lines
445 B
Nix

{ config, ... }:
{
sconfig.profile = "server";
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;
}