grace/dots
dotfiles/nix configs
git clone https://git.gae.moe/grace/dots
b70d9f9
main
1{ ...} : 2 3let 4host = import ../hosts.nix ; 5in 6{ 7imports = [ ./switch-notify.nix ]; 8 9nix . settings . experimental-features = [ 10"nix-command" 11"flakes" 12]; 13networking . hostName = host . name ; 14networking . nameservers = [ 15"1.1.1.1" 16"9.9.9.9" 17]; 18environment . sessionVariables . NIX_HOST = host . name ; 19 20services . openssh = { 21enable = true ; 22openFirewall = true ; 23ports = [ 2422 252222 26]; 27settings = { 28PermitRootLogin = "no" ; 29PasswordAuthentication = false ; 30KbdInteractiveAuthentication = false ; 31}; 32}; 33}