test
This commit is contained in:
parent
4e35147d45
commit
c26b7ef97c
2 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
# 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";
|
||||
url = "https://github.com/Mic92/sops-nix/archive/${sops-nix-lock.rev}.tar.gz";
|
||||
sha256 = sops-nix-lock.narHash;
|
||||
})
|
|
@ -12,11 +12,12 @@
|
|||
"${toString ./.}/keys/hosts"
|
||||
"${toString ./.}/keys/users"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkgs.nix
|
||||
pkgs.home-manager
|
||||
pkgs.git
|
||||
(pkgs.callPackage sops-nix {}).sops-import-keys-hook
|
||||
(sops-nix {}).sops-import-keys-hook
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue