add age and test with tailscale
This commit is contained in:
@@ -29,6 +29,9 @@
|
||||
blake.enable = true;
|
||||
};
|
||||
|
||||
# age
|
||||
age.keyFile = ../../.keyring/age/keys.txt;
|
||||
|
||||
# passwordless rebuild
|
||||
security.sudo.extraRules = [
|
||||
{
|
||||
|
||||
@@ -1,6 +1,14 @@
|
||||
{ pkgs, config, lib, ... }:
|
||||
|
||||
{
|
||||
age.secrets."tailscale_authkey" = {
|
||||
file = ../../secrets/tailscale_authkey.txt.age;
|
||||
owner = "blake";
|
||||
group = "blake";
|
||||
mode = "0400";
|
||||
};
|
||||
|
||||
|
||||
options = {
|
||||
modules.system.tailscale.enable = lib.mkEnableOption "enables tailscale";
|
||||
};
|
||||
@@ -10,7 +18,7 @@
|
||||
enable = true;
|
||||
|
||||
useRoutingFeatures = "both";
|
||||
authKeyFile = "/home/blake/.nix/.keyring/tailscale/authkey";
|
||||
authKeyFile = "/run/agenix/tailscale_authkey";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user