all repos — nixfiles @ 48e0947b4feb2bf80a4c416608ab7f1ac11fa0c1

System and user configuration, managed by nix and home-manager

system/hosts/smrk.nix (view raw)

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
{
  pkgs,
  ...
}:
let
  hostname = "smrk";
  domain = "alin.ovh";
in
{
  imports = [
    ../roles/server.nix
    ../roles/ci.nix
    ../roles/reverse-proxy.nix
    ../roles/forgejo-runner.nix
    ../roles/nix-remote-builder.nix
  ];
  system.stateVersion = "25.11";

  environment.systemPackages = with pkgs; [
    cifs-utils
    pdns
    litecli
    knot-dns
  ];

  networking = {
    hostName = hostname;
    domain = domain;
  };

  nix = {
    settings = {
      max-jobs = 4;
    };
  };
}