diff options
| author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-11-02 19:55:32 +0100 |
|---|---|---|
| committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-11-05 22:47:43 +0100 |
| commit | 83f0daa6c54c26ad240c46722d3ad84f853f517a (patch) | |
| tree | 64ea00623691af7ba27d36a8bb3d0faa9a67096f /modules/common/soispha/hooks/default.nix | |
| parent | pkgs/*: Use a `stable`/`unstable` marker in the filename (diff) | |
| download | nixos-config-83f0daa6c54c26ad240c46722d3ad84f853f517a.zip | |
modules/*: Fix various name mistakes and other issues
Diffstat (limited to 'modules/common/soispha/hooks/default.nix')
| -rw-r--r-- | modules/common/soispha/hooks/default.nix | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/modules/common/soispha/hooks/default.nix b/modules/common/soispha/hooks/default.nix new file mode 100644 index 00000000..5b694039 --- /dev/null +++ b/modules/common/soispha/hooks/default.nix @@ -0,0 +1,17 @@ +# nixos-config - My current NixOS configuration +# +# Copyright (C) 2025 Benedikt Peetz <benedikt.peetz@b-peetz.de> +# SPDX-License-Identifier: GPL-3.0-or-later +# +# This file is part of my nixos-config. +# +# You should have received a copy of the License along with this program. +# If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>. +{ + pkgs, + lib, + config, +}: { + sync-git-repos = config.lib.taskwarrior.mkHook "on-add" [pkgs.git] ./scripts/sync-git-repo.sh; + sync-git-repos-mod = config.lib.taskwarrior.mkHook "on-modify" [pkgs.git] ./scripts/sync-git-repo.sh; +} |
