1
1
Fork 0
nixos/options/custom/programs/localsend.nix

23 lines
421 B
Nix
Raw Normal View History

{ 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
{ };
}