add rage and fix nebula config path

This commit is contained in:
RingOfStorms (Joshua Bell) 2024-05-13 12:18:30 -05:00
parent 595c8aa59b
commit fa10d09bff
2 changed files with 3 additions and 2 deletions

View file

@ -19,7 +19,7 @@
Type = "notify";
Restart = "always";
RestartSec = 1;
ExecStart = "${pkgs.nebula}/bin/nebula -config /etc/nebula";
ExecStart = "${pkgs.nebula}/bin/nebula -config /etc/nebula/config.yml";
UMask = "0027";
CapabilityBoundingSet = "CAP_NET_ADMIN";
AmbientCapabilities = "CAP_NET_ADMIN";

View file

@ -2,6 +2,7 @@
{
settings,
lib,
pkgs,
ragenix,
...
}:
@ -11,7 +12,7 @@ in
# secretsFile = (settings.secretsDir + /secrets.nix);
{
imports = [ ragenix.nixosModules.age ];
environment.systemPackages = [ ragenix.packages.${settings.system.system}.default ];
environment.systemPackages = [ ragenix.packages.${settings.system.system}.default pkgs.rage ];
age = {
secrets =