NixOS system configurations + dotfiles via home-manager

forgejo: configure internal dns using /etc/hosts

Changed files
+4 -5
hosts
crossbell
ruan
-5
hosts/crossbell/default.nix
··· 74 74 dns.override_local_dns = true; 75 75 dns.extra_records = [ 76 76 { 77 - name = "code.pvsr.dev"; 78 - type = "A"; 79 - value = hosts.ruan.config.local.tailscale.ip; 80 - } 81 - { 82 77 name = "grafana.peterrice.xyz"; 83 78 type = "A"; 84 79 value = hosts.ruan.config.local.tailscale.ip;
+4
hosts/ruan/forgejo.nix
··· 3 3 hosts = config.flake.nixosConfigurations; 4 4 in 5 5 { 6 + flake.modules.nixos.core.networking.hosts.${hosts.ruan.config.local.tailscale.ip} = [ 7 + "code.pvsr.dev" 8 + ]; 9 + 6 10 flake.modules.nixos.ruan = 7 11 { 8 12 config,