blob: c48eca00bf9485652fbe2e450a547892768f2ee1 (
plain)
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
{ config, modulesPath, ... }:
{
imports = [
(modulesPath + "/profiles/minimal.nix")
./hardware-configuration.nix
./miniflux.nix
./nginx.nix
./nixpkgs-tracker-bot.nix
./teawiebot.nix
];
_module.args.nixinate = {
host = config.networking.hostName;
sshUser = "root";
buildOn = "remote";
substituteOnTarget = true;
hermetic = false;
};
archetypes.server.enable = true;
base.networking.enable = false;
boot = {
loader.systemd-boot.enable = true;
loader.efi.canTouchEfiVariables = true;
};
networking = {
domain = "getchoo.com";
hostName = "atlas";
};
nixpkgs.hostPlatform = "aarch64-linux";
services = {
github-mirror = {
enable = true;
hostname = "git.getchoo.com";
mirroredUsers = [
"getchoo"
"getchoo-archive"
];
};
};
system.stateVersion = "23.05";
}
|