aboutsummaryrefslogtreecommitdiff
path: root/machines/argonath.nix
blob: cfefd46659580b1978e377cdb9731325ec11cb59 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{ adminUser, ... }:
{
  imports = [
    ../profiles/core-metrics.nix
    ../profiles/defaults.nix
    ../profiles/disk/basic-vm.nix
    ../profiles/hardware/do-droplet.nix
    ../profiles/home-manager.nix
    ../profiles/reverse-proxy.nix
    ../profiles/server.nix
    ../profiles/wireguard.nix
    ../profiles/users/home-manager.nix
    ../profiles/users/admin-user.nix
  ];

  networking.hostName = "argonath";

  wgPublicKey = "vTItDh9YPnA+8hL1kIK+7EHv0ol3qvhfAfz790miw1w=";

  age.secrets = {
    wireguard.file = ../secrets/argonath/wireguard.age;
    acme-cloudflare-env.file = ../secrets/acme-cloudflare-env.age;
  };

  system.stateVersion = "25.05"; # Did you read the comment?

  home-manager.users.${adminUser.name} = {
    home.homeDirectory = "/home/${adminUser.name}";
    imports = [
      ../home/profiles/minimal.nix
    ];
  };
}