feat(skadi): add localsend.
This commit is contained in:
parent
792a4e96b6
commit
2ac619adde
3 changed files with 19 additions and 1 deletions
16
modules/linux/nixos/localsend.nix
Normal file
16
modules/linux/nixos/localsend.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
options = {
|
||||
crony.localsend.enable = lib.mkEnableOption "Enable and setup localsend";
|
||||
};
|
||||
|
||||
config = lib.mkIf config.crony.localsend.enable {
|
||||
programs.localsend = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue