feat(services/nextcloud): adding the rules for the hdd
This commit is contained in:
parent
742801701e
commit
4458a4e5c8
1 changed files with 10 additions and 0 deletions
|
|
@ -14,6 +14,16 @@ in
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
php
|
php
|
||||||
];
|
];
|
||||||
|
users = {
|
||||||
|
groups.datausers = { };
|
||||||
|
users = {
|
||||||
|
nextcloud.extraGroups = [ "datausers" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
systemd.tmpfiles.rules = [
|
||||||
|
"d /mnt/data 2770 root datausers -"
|
||||||
|
];
|
||||||
services = {
|
services = {
|
||||||
nextcloud = {
|
nextcloud = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue