diff --git a/modules/nixos/services/base/default.nix b/modules/nixos/services/base/default.nix index 02e2c4e..7b92967 100644 --- a/modules/nixos/services/base/default.nix +++ b/modules/nixos/services/base/default.nix @@ -170,6 +170,12 @@ in }; programs.git.enable = true; + programs.git.config = { + "filter \"rot8000\"" = { + smudge = "${pkgs.metacfg.rot8000}/bin/rot8000"; + clean = "${pkgs.metacfg.rot8000}/bin/rot8000"; + }; + }; virtualisation.libvirtd.enable = true; diff --git a/systems/x86_64-linux/mx/default.nix b/systems/x86_64-linux/mx/default.nix index 3a90061..8ae04f9 100644 --- a/systems/x86_64-linux/mx/default.nix +++ b/systems/x86_64-linux/mx/default.nix @@ -45,7 +45,13 @@ options = "--delete-older-than 7d"; }; - programs.git.config.safe.directory = "/var/lib/gitea/repositories/harald/nixcfg.git"; + programs.git.config = { + safe.directory = "/var/lib/gitea/repositories/harald/nixcfg.git"; + "filter \"rot8000\"" = { + smudge = "${pkgs.metacfg.rot8000}/bin/rot8000"; + clean = "${pkgs.metacfg.rot8000}/bin/rot8000"; + }; + }; environment.systemPackages = with pkgs; [ age