From cc2613451837024188246bcf99d1784f4aac45b4 Mon Sep 17 00:00:00 2001 From: jaina heartles Date: Wed, 7 Aug 2024 18:23:01 -0700 Subject: [PATCH 1/2] flake update --- flake.lock | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/flake.lock b/flake.lock index 8c6c782..606f4d1 100644 --- a/flake.lock +++ b/flake.lock @@ -2,11 +2,11 @@ "nodes": { "nixpkgs": { "locked": { - "lastModified": 1722519197, - "narHash": "sha256-VEdJmVU2eLFtLqCjTYJd1J7+Go8idAcZoT11IewFiRg=", + "lastModified": 1722869614, + "narHash": "sha256-7ojM1KSk3mzutD7SkrdSflHXEujPvW1u7QuqWoTLXQU=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "05405724efa137a0b899cce5ab4dde463b4fd30b", + "rev": "883180e6550c1723395a3a342f830bfc5c371f6b", "type": "github" }, "original": { @@ -24,11 +24,11 @@ }, "unstable": { "locked": { - "lastModified": 1722421184, - "narHash": "sha256-/DJBI6trCeVnasdjUo9pbnodCLZcFqnVZiLUfqLH4jA=", + "lastModified": 1722813957, + "narHash": "sha256-IAoYyYnED7P8zrBFMnmp7ydaJfwTnwcnqxUElC1I26Y=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "9f918d616c5321ad374ae6cb5ea89c9e04bf3e58", + "rev": "cb9a96f23c491c081b38eab96d22fa958043c9fa", "type": "github" }, "original": { From 13642fbbabe1d197a512f896cdb00347dcfdb1f5 Mon Sep 17 00:00:00 2001 From: jaina heartles Date: Wed, 7 Aug 2024 18:23:56 -0700 Subject: [PATCH 2/2] add nebula --- configuration.nix | 1 + nebula.nix | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 nebula.nix diff --git a/configuration.nix b/configuration.nix index 721d4f5..bd7a164 100644 --- a/configuration.nix +++ b/configuration.nix @@ -5,6 +5,7 @@ ./heartles-xyz-proxy.nix ./ogdo.nix ./postfix.nix + ./nebula.nix ]; nix.settings = { diff --git a/nebula.nix b/nebula.nix new file mode 100644 index 0000000..c293bfa --- /dev/null +++ b/nebula.nix @@ -0,0 +1,12 @@ +{ pkgs, lib, ... }: + +{ + environment.systemPackages = [ pkgs.nebula ]; + services.nebula.networks.home = { + enable = true; + isLighthouse = true; + cert = "/etc/nebula/node.crt"; + key = "/etc/nebula/node.key"; + ca = "/etc/nebula/ca.crt"; + }; +}