blob: a959a32d872b2f4dedf07ee628439c6b5f69f6c8 (
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
|
{ modulesPath, inputs, ... }:
{
imports = [
(modulesPath + "/profiles/minimal.nix")
./hardware-configuration.nix
./forgejo.nix
./miniflux.nix
./moyai.nix
./nixpkgs-tracker-bot.nix
inputs.self.nixosModules.default
];
profiles.server.enable = true;
boot = {
loader.systemd-boot.enable = true;
loader.efi.canTouchEfiVariables = true;
};
networking = {
domain = "getchoo.com";
hostName = "atlas";
firewall.allowedTCPPorts = [
80 # HTTP
443 # HTTPS
];
};
nixpkgs.hostPlatform = "aarch64-linux";
services = {
nginx.enable = true;
};
system.stateVersion = "23.05";
}
|