grace/dots

dotfiles/nix configs

git clone https://git.gae.moe/grace/dots

Grace Yoderwafrn testing44ae0ad

wafrn-testing
733 B45 linesraw
1{ ... }:
2
3let
4  host = import ../hosts.nix;
5in
6{
7  imports = [
8    ../modules/caddy.nix
9    ../modules/gitsrv.nix
10    ../modules/wafrn.nix
11    ../modules/tailscale.nix
12    ../modules/users.nix
13    ../modules/dns.nix # does better when last?
14  ];
15
16  nix.settings.trusted-users = [
17    "root"
18    "grace"
19  ];
20
21  nix.settings.experimental-features = [
22    "nix-command"
23    "flakes"
24  ];
25
26  boot.loader.grub = {
27    enable = true;
28    device = "/dev/vda";
29  };
30  networking.hostName = host.name;
31
32  services.openssh = {
33    enable = true;
34    openFirewall = true;
35
36    ports = [ 22 2222 ];
37
38    settings = {
39      PermitRootLogin = "no";
40      PasswordAuthentication = false;
41      KbdInteractiveAuthentication = false;
42    };
43  };
44
45}