filesharing: Add localsend
This commit is contained in:
parent
cced15a507
commit
17520db0e4
1 changed files with 14 additions and 0 deletions
14
modules/nixos/multimedia/web/filesharing.nix
Normal file
14
modules/nixos/multimedia/web/filesharing.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{ username, ... }:
|
||||
|
||||
{
|
||||
environment.persistence."/nix/persist" = {
|
||||
users."${username}".directories = [
|
||||
".local/share/org.localsend.localsend_app"
|
||||
];
|
||||
};
|
||||
|
||||
programs.localsend = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
};
|
||||
}
|
Loading…
Add table
Reference in a new issue