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