freun-dev: fix hastebin
This commit is contained in:
@@ -4,7 +4,6 @@
|
||||
(
|
||||
map (secret: { name = secret; value = { file = ../../secrets/${secret}.age; }; }) [
|
||||
"gotosocial"
|
||||
"hastebin-tokens"
|
||||
"immich"
|
||||
"readeck"
|
||||
"storage-box-credentials"
|
||||
@@ -23,5 +22,13 @@
|
||||
else
|
||||
"root";
|
||||
};
|
||||
hastebin-tokens = {
|
||||
file = ../../secrets/hastebin-tokens.age;
|
||||
owner =
|
||||
if (config.services.hastebin.enable) then
|
||||
config.users.users.hastebin.name
|
||||
else
|
||||
"root";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user