nix/lib/sops-nix.nix

6 lines
309 B
Nix
Raw Normal View History

2023-09-19 11:19:59 +02:00
# 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";
2023-09-19 11:20:42 +02:00
sha256 = sops-nix-lock.narHash;
2023-09-19 11:19:59 +02:00
})