From cf720ec8825a062f03c3208ba0855805027514c5 Mon Sep 17 00:00:00 2001 From: TheWanderingCrow Date: Fri, 7 Feb 2025 09:00:02 -0500 Subject: [PATCH] lighthouse test --- flake.lock | 8 ++++---- flake.nix | 12 ++++++------ modules/users/lighthouse/setup.nix | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/flake.lock b/flake.lock index 9f07328..25a1d89 100644 --- a/flake.lock +++ b/flake.lock @@ -101,11 +101,11 @@ }, "nix-secrets": { "locked": { - "lastModified": 1738516276, - "narHash": "sha256-ZA8mBJ0pogSL+gZYg+DUHJ8Arwi0bBIsLy+/OeHKwvk=", + "lastModified": 1738936785, + "narHash": "sha256-I3pOSLKsV/agqfAxgTZJWLsWtzKKXwxAfOZhVRZ0omI=", "ref": "refs/heads/master", - "rev": "7c110c28d15076b694c534ffda14dcf8f69c98ed", - "revCount": 30, + "rev": "2e7e351ba270a4dd10a98ea048a8ffe81b739786", + "revCount": 33, "type": "git", "url": "ssh://git@github.com/TheWanderingCrow/nix-secrets" }, diff --git a/flake.nix b/flake.nix index 0eef901..aeedc55 100644 --- a/flake.nix +++ b/flake.nix @@ -22,11 +22,11 @@ ]; mkSpecialArgs = system: { - inherit inputs; - pkgs = import nixpkgs { - inherit system; - config.allowUnfree = true; - }; + inherit inputs; + pkgs = import nixpkgs { + inherit system; + config.allowUnfree = true; + }; }; in { nixosConfigurations = { @@ -96,6 +96,7 @@ { networking.hostName = "WCE-Lighthouse1"; networking.useDHCP = nixpkgs.lib.mkForce false; + sops.defaultSopsFile = inputs.nix-secrets.secrets.lighthouse1; services.cloud-init = { enable = true; @@ -104,7 +105,6 @@ # not strictly needed, just for good measure datasource_list = ["DigitalOcean"]; datasource.DigitalOcean = {}; - sops.defaultSopsFile = inputs.nix-secrets.secrets.lighthouse1; }; } ] diff --git a/modules/users/lighthouse/setup.nix b/modules/users/lighthouse/setup.nix index d8a2323..c45aacc 100644 --- a/modules/users/lighthouse/setup.nix +++ b/modules/users/lighthouse/setup.nix @@ -14,7 +14,7 @@ lib.mkIf config.user.lighthouse.enable { sops.secrets.cert = {}; sops.secrets.key = {}; - services.nebula.networks.test = { + services.nebula.networks.WCE = { enable = true; isLighthouse = true; ca = inputs.nix-secrets.nebula.ca;