chore(infra): Remove remnants of dgn-dns

This commit is contained in:
Tom Hubrecht 2024-02-01 13:35:30 +01:00
parent 76ec967fba
commit ce0dfe5431
6 changed files with 0 additions and 33 deletions

View file

@ -3,7 +3,6 @@
lib.extra.mkConfig {
enabledModules = [
# List of modules to enable
"dgn-dns"
"dgn-fail2ban"
"dgn-web"
];

View file

@ -29,8 +29,6 @@ builtins.mapAttrs mkNode {
};
compute01 = {
deployment.tags = [ "dns" ];
stateVersion = "23.05";
};

View file

@ -39,7 +39,6 @@
"dgn-access-control"
"dgn-acme"
"dgn-console"
"dgn-dns"
"dgn-fail2ban"
"dgn-hardware"
"dgn-network"

View file

@ -40,19 +40,6 @@
"url": "https://api.github.com/repos/nix-community/disko/tarball/v1.3.0",
"hash": "1lrnvgd5w41wrgidp3vwv2ahpvl0a61c2lai6qs16ri71g00kqn0"
},
"dns.nix": {
"type": "GitRelease",
"repository": {
"type": "Git",
"url": "https://git.hubrecht.ovh/hubrecht/dns.nix"
},
"pre_releases": false,
"version_upper_bound": null,
"version": "v1.2.1",
"revision": "66979725afe2164491be38ffff78460cc9b0ffd7",
"url": null,
"hash": "1bashjbh71dqs32yld7ihw2vz0vrad73pc35crf3qck8ssgpzv7d"
},
"linkal": {
"type": "Git",
"repository": {

View file

@ -24,10 +24,7 @@ let
scripts = [
"check-deployment"
"ns-update"
"launch-vm"
# "mk-backup-key"
# "wg-setup"
];
in

View file

@ -1,13 +0,0 @@
#!@bash@/bin/bash
cd "$(@git@/bin/git rev-parse --show-toplevel)"
SERIAL=$(@coreutils@/bin/cat modules/dgn-dns/serial.nix)
T_SERIAL="$(@coreutils@/bin/date +'%Y%m%d')00"
N_SERIAL=$(( ( SERIAL >= T_SERIAL ? SERIAL : T_SERIAL ) + 1 ))
echo "New SOA serial: $N_SERIAL"
echo -n "$N_SERIAL" > modules/dgn-dns/serial.nix
@colmena@/bin/colmena apply --on @dns