grace/dots
dotfiles/nix configs
git clone https://git.gae.moe/grace/dots
44ae0ad
wafrn-testing
1{ ...} : 2 3let 4host = import ../hosts.nix ; 5in 6{ 7imports = [ 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 16nix . settings . trusted-users = [ 17"root" 18"grace" 19]; 20 21nix . settings . experimental-features = [ 22"nix-command" 23"flakes" 24]; 25 26boot . loader . grub = { 27enable = true ; 28device = "/dev/vda" ; 29}; 30networking . hostName = host . name ; 31 32services . openssh = { 33enable = true ; 34openFirewall = true ; 35 36ports = [ 22 2222 ]; 37 38settings = { 39PermitRootLogin = "no" ; 40PasswordAuthentication = false ; 41KbdInteractiveAuthentication = false ; 42}; 43}; 44 45}