nix/lib/sops-nix.nix
2023-09-19 21:00:19 +09:00

6 lines
No EOL
310 B
Nix

# Useful to avoid using channels when using legacy nix commands
let sops-nix-lock = (builtins.fromJSON (builtins.readFile ../flake.lock)).nodes.sops-nix.locked;
in import (fetchTarball {
url = "https://github.com/Mic92/sops-nix/archive/${sops-nix-lock.rev}.tar.gz";
sha256 = sops-nix-lock.narHash;
})