summaryrefslogtreecommitdiff
path: root/systems/nixos-anywhere/configuration.nix
blob: 46aedb8e2add492ed8075dc5194afe0454d187e0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{modulesPath, pkgs, ...} @ args:
{
  imports = [
    (modulesPath + "/installer/scan/not-detected.nix")
    (modulesPath + "/profiles/qemu-guest.nix")
    ./disk-config.nix
  ];

  boot.loader.grub = {
    efiSupport = true;
    efiInstallAsRemovable = true;
  };

  services.openssh.enable = true;
  users.users.root.openssh.authorizedKeys.keys = [
    "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMjRcsulH/b/fVyj+YQi3YchW6wLiWvpgiM+iz4tokSD leo@hermes"
  ] ++ (args.extraPublicKeys or []);

  environment.systemPackages = with pkgs; [ curl gitMinimal ];

  system.stateVersion = "25.05";
}