1
1
Fork 0
nixos/options/custom/programs/localsend.nix
Myned 53c8575116
git: migrate to forgejo
Squashes 1,331 commits

Signed-off-by: Myned <dev@bjork.tech>
2024-09-12 19:41:21 -05:00

22 lines
421 B
Nix

{ config, lib, ... }:
with lib;
let
cfg = config.custom.programs.localsend;
in
{
options.custom.programs.localsend.enable = mkOption { default = false; };
config =
if (versionAtLeast version "24.11") then
(mkIf cfg.enable {
# https://github.com/localsend/localsend
programs.localsend = {
enable = true;
openFirewall = true;
};
})
else
{ };
}