mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-03-27 06:10:53 +01:00
Removed impurities in flake
This commit is contained in:
parent
3d6f3e3a10
commit
707b19ccb7
1 changed files with 3 additions and 10 deletions
|
@ -212,19 +212,13 @@ with lib;
|
|||
|
||||
|
||||
systemd.tmpfiles.rules = [
|
||||
"f /var/lib/polr/.env 740 polr polr"
|
||||
];
|
||||
"f /var/lib/polr/.env 740 polr polr"
|
||||
];
|
||||
systemd.services.polr-config = {
|
||||
wantedBy = [ "phpfpm-polr.service" ];
|
||||
wants = [ "polr-mysql.service" ];
|
||||
requiredBy = [ "phpfpm-polr.service" ];
|
||||
before = [ "phpfpm-polr.service" ];
|
||||
restartTriggers = [
|
||||
(builtins.hashFile "sha256" cfg.adminpassFile)
|
||||
(builtins.hashFile "sha256" cfg.database.dbpassFile)
|
||||
(builtins.hashFile "sha256" cfg.config.appkeyFile)
|
||||
];
|
||||
serviceConfig = {
|
||||
serviceConfig = {
|
||||
User = "polr";
|
||||
Group = "polr";
|
||||
StateDirectory = "polr";
|
||||
|
@ -249,7 +243,6 @@ with lib;
|
|||
RemoveIPC = true;
|
||||
PrivateMounts = true;
|
||||
PrivateNetwork = true;
|
||||
# UMask = "0027";
|
||||
};
|
||||
script = ''
|
||||
cp -R ${builtins.toFile "env" createEnvFile} /var/lib/polr/.env
|
||||
|
|
Loading…
Add table
Reference in a new issue