Skip to content

Commit

Permalink
hosts/duo: remove
Browse files Browse the repository at this point in the history
  • Loading branch information
linyinfeng committed Dec 5, 2024
1 parent ea1e3e7 commit aa992fc
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 500 deletions.
40 changes: 0 additions & 40 deletions flake/hosts.nix
Original file line number Diff line number Diff line change
Expand Up @@ -451,45 +451,6 @@ in
name = "hkg0";
system = "x86_64-linux";
})

(mkHost {
name = "duo";
system = "riscv64-linux";
extraModules = [
(
{
config,
lib,
pkgs,
modulesPath,
...
}:
let
originalModule = import "${inputs.nixos-riscv}/duo-256.nix" {
inherit
config
lib
pkgs
modulesPath
;
};
in
lib.updateManyAttrsByPath [
{
path = [
"system"
"nssModules"
];
update = _old: [ ];
}
{
path = [ "nixpkgs" ];
update = _old: { };
}
] originalModule
)
];
})
# PLACEHOLDER new host
];

Expand All @@ -498,7 +459,6 @@ in
"android-boot-image/enchilada" = self.nixosConfigurations.enchilada.config.system.build.bootImage;
"linux/enchilada" = self.nixosConfigurations.enchilada.config.boot.kernelPackages.kernel;
};
"riscv64-linux"."bootsd/duo" = self.nixosConfigurations.duo.config.system.build.bootsd;
"x86_64-linux"."linux/owl" = self.nixosConfigurations.owl.config.boot.kernelPackages.kernel;
};
}
18 changes: 0 additions & 18 deletions lib/data/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -193,24 +193,6 @@
}
},
"hosts": {
"duo": {
"b2_backup_key_id": "00462cd88e299860000000027",
"dn42_addresses_v4": [],
"dn42_addresses_v6": [],
"dn42_v6_prefixes": [],
"endpoints": [],
"endpoints_v4": [],
"endpoints_v6": [],
"host_indices": [],
"ike_cert_pem": "-----BEGIN CERTIFICATE-----\nMIIB6TCCAW6gAwIBAgIQHHHwxNLlY4yNHrGnd6FpHjAKBggqhkjOPQQDAzAlMRAw\nDgYDVQQKEwdZaW5mZW5nMREwDwYDVQQDEwhsaTdnLmNvbTAeFw0yNDExMTcxNjQ1\nMjhaFw0yNTAxMTcxMjQ1MjhaMCkxEDAOBgNVBAoTB1lpbmZlbmcxFTATBgNVBAMT\nDGR1by5saTdnLmNvbTB2MBAGByqGSM49AgEGBSuBBAAiA2IABGf6wpZrxjibMPzR\nafoFel8b7dpKP4u9l0CkPEcjL2P49kZlbeyFhj/433ugzyE7Mm1BaZif4Papc4CZ\nNq42ChaQIJE68+J9zz59M15k/f2mvmUNaL6Ymc4mpc8JxvZvIqNfMF0wEwYDVR0l\nBAwwCgYIKwYBBQUHAwEwDAYDVR0TAQH/BAIwADAfBgNVHSMEGDAWgBQXukUM/qqg\n7vLzRIIk1vA8DMqiHDAXBgNVHREEEDAOggxkdW8ubGk3Zy5jb20wCgYIKoZIzj0E\nAwMDaQAwZgIxAN3GfiddC2HVpUWMJzxJ0UQX3UztwohxPg6kXuZOpYMpswCVzQW8\nHIwCQ85h4Zl/1gIxALAwRUIXljaiYfRjEy2iJBbUQH4tZYpvVO+aNpwlPxSlvSfW\ni7CEtaEX8weu7S+KlA==\n-----END CERTIFICATE-----\n",
"minio_backup_key_id": "backup-duo",
"ssh_host_ed25519_key_pub": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHaMw6vzFKUifYm+DM1PvhSx2Vvb7aSuww+UnWxkO/nw",
"ssh_host_rsa_key_pub": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDHj4EDT6nS1Hv+jql3ef0M7I9KweKhdp81FE11qGJB9qL8wWbHk0IHvA/3LHyqGO1CDh9/AjKOJrb9uZEp6ahReGAtJSUx7cPOvxQYLu1WN/8EM4fporSNAdg+CkAKtFKmWRe+84/Lo8L2c09jy4a7plZjZ/15qocgboESai+i9sX5rKuznUKrGC0P+QGa0UEcTZ+KISpWSdLsbaZpd3l/f8gSju8h/UeBizdC6eqWwPSdPulDoRjlWIOO4N4n+l76TUMaDY1y4mC0czbmamqx+a10hImOUFywlclLyeEYlfgZ9gnnFVxrMT1WtLLHh0bL6mQzq1h/veY/sNquv9wfBl/RyH2+2EwPSrU5QSDkqdqX5+NJ+VJWTIoDy8vdC8JiqdOgN187ynufeoUv8ObIFjDnI/OhM6T9BxBWlmyZ4sbMWmwlizM5yQLqGhDr5Br9GZGRSk9xGqCf2bzGV9FlHaSyM21qLTLEGfxjDFMBGMFZw/VHjqXBrjZV178E2Tp/eXiAKf3DpCGG98Evr6eccF7kCXZZu0dDNzQkiRLF0LsYYRQZ88PJhhtobDZZZOFY8HAJ8I+ATX/gdkGxaR8HeiVzIu7ppxo/kyRgzg9Kbj4ujSvNNCC35s07/i5jp7ZBaoWAzBXYns3CtiyIxzKchzAjdPg5ZC6EcSfNG3MUkw==",
"syncthing_device_id": "QWMORI2-FAXYA6R-WWZU733-7QEMNT2-KBUHQXC-RAKALYM-SNJEPPN-KUELOQC",
"wireguard_public_key": "/6JlmeD9sA6VmQb8o9PTaDh6jrVFeVd1Omlh5GFwBGY=",
"zerotier_id": "f283e39525",
"zerotier_public_key": "f283e39525:0:2fc87ceedb5f11a4cf55d7e78bce1e4485ab23cabd2392d070a749f91301ca597ec43805dcd7803648fc6e5b9e616c30f34b6db0470e26a6f65b61d4d9ed7f70"
},
"enchilada": {
"b2_backup_key_id": "00462cd88e299860000000023",
"dn42_addresses_v4": [],
Expand Down
4 changes: 0 additions & 4 deletions nixago/sops-yaml.nix
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,6 @@ let
key = "age1wzm6xztn2m08qr74hg29nv2qlz8537apl4kcqakfyg3gc8l0mcgstrqjpf";
owned = true;
};
duo = {
key = "age1ll4vesj4g09t7954pd3v46nmthcv569xed9g9msadrlz8jhgkcdq6ks7s9";
owned = true;
};
# PLACEHOLDER new host
};
ownedHostKeys = lib.mapAttrsToList (_: cfg: cfg.key) (lib.filterAttrs (_: cfg: cfg.owned) hosts);
Expand Down
32 changes: 0 additions & 32 deletions nixos/hosts/duo/default.nix

This file was deleted.

13 changes: 0 additions & 13 deletions nixos/hosts/duo/kernel/configs/merge.nix

This file was deleted.

159 changes: 0 additions & 159 deletions nixos/hosts/duo/kernel/configs/nftables.config

This file was deleted.

Loading

0 comments on commit aa992fc

Please sign in to comment.