mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 17:49:07 +01:00
19 lines
353 B
Nix
19 lines
353 B
Nix
{
|
|
config,
|
|
osConfig,
|
|
lib,
|
|
...
|
|
}:
|
|
{
|
|
options.custom.services.syncthing.enable = lib.mkEnableOption "" // {
|
|
default = osConfig.custom.services.syncthing.enable;
|
|
};
|
|
|
|
config = lib.mkIf config.custom.services.syncthing.enable {
|
|
home.file."Projects/.stignore".text = ''
|
|
(?d)target/
|
|
(?d).direnv/
|
|
(?d)result
|
|
'';
|
|
};
|
|
}
|