diff options
| author | Alejandro Soto <alejandro@34project.org> | 2025-04-17 11:52:48 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2025-04-19 11:10:00 -0600 |
| commit | 94082eb5943f483dda4c1c71e50e57ee665bcddf (patch) | |
| tree | 89613077cf5cd74ee7676dc21657dc81da8f20de /home/pim/syncthing.nix | |
| parent | 6074fd428ca87e6964416e299a6d341acd1f97dc (diff) | |
home/pim: merge home/mail, home/syncthing
Diffstat (limited to 'home/pim/syncthing.nix')
| -rw-r--r-- | home/pim/syncthing.nix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/home/pim/syncthing.nix b/home/pim/syncthing.nix new file mode 100644 index 0000000..e234c42 --- /dev/null +++ b/home/pim/syncthing.nix @@ -0,0 +1,15 @@ +{ config, lib, ... }: +with lib; let + cfg = config.local.syncthing; +in +{ + options.local.syncthing = { + enable = mkEnableOption "syncthing"; + }; + + config = mkIf cfg.enable { + services.syncthing = { + enable = true; + }; + }; +} |
