aboutsummaryrefslogtreecommitdiff
path: root/machines/nixos/x86_64-linux/bree.nix
blob: 2f564b5cc247ae2ffc489652184872f001951ed6 (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
{
  lib,
  adminUser,
  config,
  ...
}:
{
  imports = [
    ../../../profiles/cgroups.nix
    ../../../profiles/defaults.nix
    ../../../profiles/disk/basic-vm.nix
    ../../../profiles/hardware/synology-vm.nix
    ../../../profiles/home-manager.nix
    ../../../profiles/server.nix
    ../../../profiles/wireguard.nix
  ];

  networking.hostName = "bree";
  networking.useDHCP = lib.mkDefault true;
  systemd.network.wait-online.anyInterface = lib.mkDefault config.networking.useDHCP;

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

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