mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
10 lines
445 B
Nix
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;
|
|
}
|