mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
fix acme-fixperms failing
This commit is contained in:
parent
1af207fd7d
commit
86c5ddb05f
1 changed files with 9 additions and 1 deletions
|
|
@ -28,7 +28,15 @@
|
|||
};
|
||||
};
|
||||
|
||||
systemd.tmpfiles.rules = [ "L+ /var/lib/acme - - - - /persist/services/acme" ];
|
||||
fileSystems."/var/lib/acme" = {
|
||||
device = "/persist/services/acme";
|
||||
fsType = "none";
|
||||
options = [ "bind" ];
|
||||
depends = [
|
||||
"/persist"
|
||||
"/var"
|
||||
];
|
||||
};
|
||||
|
||||
users.users.${config.services.nginx.user}.extraGroups = [ "acme" ];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue