nix/lib/sops-nix.nix

6 lines
296 B
Nix
Raw Normal View History

2023-09-19 11:19:59 +02:00
# Useful to avoid using channels when using legacy nix commands
2023-09-19 13:44:09 +02:00
let sops-nix-lock = (builtins.fromJSON (builtins.readFile ../flake.lock)).nodes.sops-nix.locked;
2023-09-19 11:19:59 +02:00
in import (fetchTarball {
2023-09-19 13:58:56 +02:00
url = "https://github.com/Mic92/sops-nix/archive/master.tar.gz";
2023-09-19 11:20:42 +02:00
sha256 = sops-nix-lock.narHash;
2023-09-19 11:19:59 +02:00
})