l 2 downloading: remove folderPermissions
This commit is contained in:
parent
d9c6fe8d3a
commit
617814725b
@ -5,9 +5,6 @@ with config.krebs.lib;
|
|||||||
let
|
let
|
||||||
rpc-password = import <secrets/transmission-pw>;
|
rpc-password = import <secrets/transmission-pw>;
|
||||||
in {
|
in {
|
||||||
imports = [
|
|
||||||
../3modules/folderPerms.nix
|
|
||||||
];
|
|
||||||
|
|
||||||
users.extraUsers = {
|
users.extraUsers = {
|
||||||
download = {
|
download = {
|
||||||
@ -64,15 +61,4 @@ in {
|
|||||||
{ predicate = "-p udp --dport 51413"; target = "ACCEPT"; }
|
{ predicate = "-p udp --dport 51413"; target = "ACCEPT"; }
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
lass.folderPerms = {
|
|
||||||
enable = true;
|
|
||||||
permissions = [
|
|
||||||
{
|
|
||||||
path = "/var/download";
|
|
||||||
permission = "775";
|
|
||||||
owner = "transmission:download";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user