fixed gotify desktop finally
This commit is contained in:
@@ -1,8 +1,4 @@
|
||||
{
|
||||
self,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
{inputs, ...}: {
|
||||
flake.nixosModules.sops = {config, ...}: {
|
||||
imports = [inputs.sops-nix.nixosModules.sops];
|
||||
|
||||
@@ -12,12 +8,17 @@
|
||||
|
||||
secrets = {
|
||||
gotify-desktop-key = {
|
||||
path = "/run/secrets/gotify-desktop-key.txt";
|
||||
# Make readable
|
||||
mode = "0444";
|
||||
};
|
||||
};
|
||||
templates = {
|
||||
"gotify-desktop-key" = config.sops.placeholder.gotify-desktop-key;
|
||||
"gotify-desktop-key".content = config.sops.placeholder.gotify-desktop-key;
|
||||
};
|
||||
};
|
||||
# Make the secrets dir readable to normal users
|
||||
systemd.tmpfiles.rules = [
|
||||
"d /run/secrets 0755 root root -"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user