grace/dots

dotfiles/nix configs

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

Grace Yoderhamano againfdde154

vulcan
673 B43 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  nix.settings.trusted-users = [
15  "root"
16  "grace"
17];
18
19  nix.settings.experimental-features = [
20    "nix-command"
21    "flakes"
22  ];
23
24  boot.loader.grub = {
25    enable = true;
26    device = "/dev/vda";
27  };
28  networking.hostName = host.name;
29
30  services.openssh = {
31    enable = true;
32    openFirewall = true;
33
34    ports = [ 2222 ];
35
36    settings = {
37      PermitRootLogin = "no";
38      PasswordAuthentication = false;
39      KbdInteractiveAuthentication = false;
40    };
41  };
42
43}