add rage and fix nebula config path
This commit is contained in:
parent
595c8aa59b
commit
fa10d09bff
2 changed files with 3 additions and 2 deletions
|
@ -19,7 +19,7 @@
|
||||||
Type = "notify";
|
Type = "notify";
|
||||||
Restart = "always";
|
Restart = "always";
|
||||||
RestartSec = 1;
|
RestartSec = 1;
|
||||||
ExecStart = "${pkgs.nebula}/bin/nebula -config /etc/nebula";
|
ExecStart = "${pkgs.nebula}/bin/nebula -config /etc/nebula/config.yml";
|
||||||
UMask = "0027";
|
UMask = "0027";
|
||||||
CapabilityBoundingSet = "CAP_NET_ADMIN";
|
CapabilityBoundingSet = "CAP_NET_ADMIN";
|
||||||
AmbientCapabilities = "CAP_NET_ADMIN";
|
AmbientCapabilities = "CAP_NET_ADMIN";
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
{
|
{
|
||||||
settings,
|
settings,
|
||||||
lib,
|
lib,
|
||||||
|
pkgs,
|
||||||
ragenix,
|
ragenix,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
@ -11,7 +12,7 @@ in
|
||||||
# secretsFile = (settings.secretsDir + /secrets.nix);
|
# secretsFile = (settings.secretsDir + /secrets.nix);
|
||||||
{
|
{
|
||||||
imports = [ ragenix.nixosModules.age ];
|
imports = [ ragenix.nixosModules.age ];
|
||||||
environment.systemPackages = [ ragenix.packages.${settings.system.system}.default ];
|
environment.systemPackages = [ ragenix.packages.${settings.system.system}.default pkgs.rage ];
|
||||||
|
|
||||||
age = {
|
age = {
|
||||||
secrets =
|
secrets =
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue