grace/dots

dotfiles/nix configs

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

Grace Yodermore stuff4db52e6

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