nixos-config/hosts/vm/configuration.nix

11 lines
445 B
Nix
Raw Normal View History

2021-04-10 18:39:29 +00:00
{ config, ... }:
2021-04-10 16:55:17 +00:00
{
sconfig.profile = "server";
2021-05-03 15:26:05 +00:00
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"; };
2021-04-10 16:55:17 +00:00
security.sudo.wheelNeedsPassword = false;
2021-04-10 18:39:29 +00:00
users.users.root.openssh.authorizedKeys = config.users.users.sean.openssh.authorizedKeys;
2021-04-10 16:55:17 +00:00
}