mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 17:31:34 +01:00
14 lines
366 B
Nix
14 lines
366 B
Nix
{ config, lib, ... }@moduleArgs:
|
|
{
|
|
options.custom.services.syncthing.enable = lib.mkEnableOption "" // {
|
|
default = moduleArgs.osConfig.custom.services.syncthing.enable or false;
|
|
};
|
|
|
|
config = lib.mkIf config.custom.services.syncthing.enable {
|
|
home.file."Projects/.stignore".text = ''
|
|
(?d)target/
|
|
(?d).direnv/
|
|
(?d)result
|
|
'';
|
|
};
|
|
}
|