1
Files
e11sync/modules/e11sync/default.nix
2024-01-15 23:17:29 +02:00

16 lines
295 B
Nix

{
config,
lib,
e11sync-backend,
...
}: {
options.e11sync = with lib.types; {
enable = lib.mkEnableOption "Enable e11sync";
secretKeyPath = lib.mkOption {type = path;};
};
config = lib.mkIf config.e11sync.enable {
environment.systemPackages = [e11sync-backend];
};
}