diff --git a/modules/age.nix b/modules/age.nix index f9a8e9b..582fd5b 100644 --- a/modules/age.nix +++ b/modules/age.nix @@ -218,7 +218,7 @@ in (lib.mapAttrsToList (name: {action, service, file, path, mode, owner, group, ...}: let - fileHash = builtins.hashString "sha256" (builtins.readFile file); + fileHash = builtins.hashFile "sha256" file; restartTriggers = [ fileHash path mode owner group ]; in lib.mkMerge [