nix/lib/sops-nix.nix
2023-09-19 20:58:56 +09:00

6 lines
No EOL
296 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/master.tar.gz";
sha256 = sops-nix-lock.narHash;
})