commit f5789df25c41cae83b755f69f74ff6f4fbcd7c30
parent dd4ddffdcf910c0bd9f548c3f71b1a5bbcdd0721
Author: Vincent Demeester <vincent@sbr.pm>
Date: Thu, 4 Jan 2024 18:04:20 +0100
ops: remove unused network.nix files
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
2 files changed, 0 insertions(+), 64 deletions(-)
diff --git a/ops/cloud/network.nix b/ops/cloud/network.nix
@@ -1,16 +0,0 @@
-let
- sources = import ../../nix;
- pkgs = sources.pkgs { };
-in
-{
- network = {
- inherit pkgs;
- description = "Cloud network";
- };
-
- "kerkouane" = { config, pkgs, lib, ... }: {
- deployment.targetUser = "root";
- deployment.targetHost = "kerkouane.vpn";
- imports = [ ../../systems/hosts/kerkouane.nix ];
- };
-}
diff --git a/ops/home/network.nix b/ops/home/network.nix
@@ -1,48 +0,0 @@
-let
- sources = import ../../nix;
- pkgs = sources.pkgs { };
- metadata = pkgs.lib.importTOML ../hosts.toml;
-in
-{
- network = {
- inherit pkgs;
- description = "Home network";
- };
-
- # "k8sn1" = { config, pkgs, lib, ... }: {
- # deployment.targetUser = "root";
- # deployment.targetHost = "${metadata.hosts.k8sn1.addrs.v4}";
- # deployment.tags = [ "kubernetes" "master" ];
- # deployment.healthChecks = {
- # cmd = [{
- # cmd = [ "kubectl" "--kubeconfig=/etc/kubernetes/cluster-admin.kubeconfig" "version" ];
- # description = "Validating that kubectl is available and a cluster is running";
- # }];
- # };
- # imports = [ ../../systems/hosts/k8sn1.nix ];
- # };
- # "k8sn2" = { config, pkgs, lib, ... }: {
- # deployment.targetUser = "root";
- # deployment.targetHost = "${metadata.hosts.k8sn2.addrs.v4}";
- # deployment.tags = [ "kubernetes" "worker" ];
- # imports = [ ../../systems/hosts/k8sn2.nix ];
- # };
- # "k8sn3" = { config, pkgs, lib, ... }: {
- # deployment.targetUser = "root";
- # deployment.targetHost = "${metadata.hosts.k8sn3.addrs.v4}";
- # deployment.tags = [ "kubernetes" "worker" ];
- # imports = [ ../../systems/hosts/k8sn3.nix ];
- # };
- "wakasu" = { config, pkgs, lib, ... }: {
- deployment.targetUser = "root";
- deployment.targetHost = "wakasu.home";
- deployment.tags = [ "baremetal" "wakasu" ];
- imports = [ ../../systems/hosts/wakasu.nix ];
- };
- "sakhalin" = { config, pkgs, lib, ... }: {
- deployment.targetUser = "root";
- deployment.targetHost = "sakhalin.home";
- deployment.tags = [ "baremetal" "sakhalin" ];
- imports = [ ../../systems/hosts/sakhalin.nix ];
- };
-}