summaryrefslogtreecommitdiff
path: root/systems/atlas/default.nix
blob: a2abce8d2f075afc01f25963f52e79ccf53c01a4 (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
{ 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";
  };

  nixpkgs.hostPlatform = "aarch64-linux";

  system.stateVersion = "23.05";
}