summaryrefslogtreecommitdiff
path: root/hosts/myouga/default.nix
blob: 421e72360ffec756d3bb4024e8093aef5fc2d761 (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
48
49
50
{ lib, pkgs, ... }:

{
  imports = [
    ./hardware.nix
    ./services.nix
  ];

  environment.pathsToLink = ["/cgit"];
  environment.systemPackages = with pkgs; [
    emacs-nox
    certbot
    cgit
  ];

  this.sets = {
    cli.tools.full = true;
    net.tools.full = true;
  };

  networking.domain = "alef.zoar.cx";

  this.server.enable = true;

  documentation.man.generateCaches = lib.mkForce false;

  time.timeZone = "US/Pacific";

  this.buildMachines = ["pinto"];

  this.hosts = {
    alef.zoar.cx = true;
    mine = true;
    yggdrasil.public = true;
    yggdrasil.private = true;
  };

  documentation = {
    nixos.enable = false;
  };

  users.users.root = {
    initialPassword = "CHANGEME";
    openssh.authorizedKeys.keys = [
      "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAaWi0NLEaH9wsYz7hVYHqIHf0Oq+0gZ5fVznE6DGE9t"
    ];
  };

  system.stateVersion = "24.11";
}