mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-10 17:34:05 -05:00
lighthouse test
This commit is contained in:
parent
f638233040
commit
cf720ec882
3 changed files with 11 additions and 11 deletions
8
flake.lock
generated
8
flake.lock
generated
|
|
@ -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"
|
||||
},
|
||||
|
|
|
|||
12
flake.nix
12
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;
|
||||
};
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue