fix: give ownership of headscale oidc secret file to headscale user
parent
a7d62018d8
commit
fc95fa8caa
|
@ -16,7 +16,7 @@
|
|||
};
|
||||
age.secrets.OIDC_APP_SECRET_HEADSCALE = {
|
||||
file = ./secrets/samsehu_OIDC_APP_SECRET_HEADSCALE.age;
|
||||
owner = "dex";
|
||||
group = "dex";
|
||||
owner = "headscale";
|
||||
group = "headscale";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -534,6 +534,11 @@
|
|||
};
|
||||
|
||||
# Headscale for access to the network while away from home
|
||||
users.users.headscale = {
|
||||
isSystemUser = true;
|
||||
group = "headscale";
|
||||
};
|
||||
users.groups.headscale = {};
|
||||
services.headscale = {
|
||||
enable = true;
|
||||
package = pkgs.juanfont-headscale.headscale;
|
||||
|
|
Loading…
Reference in New Issue