chore(infra): Remove remnants of dgn-dns
This commit is contained in:
parent
76ec967fba
commit
ce0dfe5431
|
@ -3,7 +3,6 @@
|
|||
lib.extra.mkConfig {
|
||||
enabledModules = [
|
||||
# List of modules to enable
|
||||
"dgn-dns"
|
||||
"dgn-fail2ban"
|
||||
"dgn-web"
|
||||
];
|
||||
|
|
|
@ -29,8 +29,6 @@ builtins.mapAttrs mkNode {
|
|||
};
|
||||
|
||||
compute01 = {
|
||||
deployment.tags = [ "dns" ];
|
||||
|
||||
stateVersion = "23.05";
|
||||
};
|
||||
|
||||
|
|
|
@ -39,7 +39,6 @@
|
|||
"dgn-access-control"
|
||||
"dgn-acme"
|
||||
"dgn-console"
|
||||
"dgn-dns"
|
||||
"dgn-fail2ban"
|
||||
"dgn-hardware"
|
||||
"dgn-network"
|
||||
|
|
|
@ -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": {
|
||||
|
|
|
@ -24,10 +24,7 @@ let
|
|||
|
||||
scripts = [
|
||||
"check-deployment"
|
||||
"ns-update"
|
||||
"launch-vm"
|
||||
# "mk-backup-key"
|
||||
# "wg-setup"
|
||||
];
|
||||
in
|
||||
|
||||
|
|
|
@ -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
|
Loading…
Reference in a new issue