forked from Fediversity/Fediversity
set secret owner
This commit is contained in:
parent
8eb87c1cfc
commit
78d845d05d
1 changed files with 6 additions and 3 deletions
|
@ -1,5 +1,4 @@
|
|||
{
|
||||
# inputs,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
|
@ -8,7 +7,6 @@ let
|
|||
name = "panel";
|
||||
panel = (import ../../../panel/default.nix { }).package;
|
||||
in
|
||||
# builtins.trace args.pkgs
|
||||
{
|
||||
imports = [
|
||||
../../../panel/nix/configuration.nix
|
||||
|
@ -24,6 +22,11 @@ in
|
|||
panel
|
||||
];
|
||||
|
||||
age.secrets.panel-secret-key = {
|
||||
owner = name;
|
||||
group = name;
|
||||
};
|
||||
|
||||
security.acme = {
|
||||
acceptTerms = true;
|
||||
defaults.email = "beheer@procolix.com";
|
||||
|
@ -41,7 +44,7 @@ in
|
|||
port = 8000;
|
||||
settings = {
|
||||
DATABASE_URL = "sqlite:///var/lib/${name}/db.sqlite3";
|
||||
CREDENTIALS_DIRECTORY = "/var/lib/${name}/.credentials";
|
||||
STATIC_ROOT = "/var/lib/${name}/static";
|
||||
};
|
||||
};
|
||||
systemd.services.${name}.environment = {
|
||||
|
|
Loading…
Add table
Reference in a new issue