Compare commits

..

2 commits

Author SHA1 Message Date
Tristan Daniël Maat a12282c583
WIP: Add conduit 2022-10-22 20:01:58 +01:00
Tristan Daniël Maat 3e13b575b0
flake.nix: Clean up devshell 2022-10-22 20:01:56 +01:00

View file

@ -112,22 +112,15 @@
########################### ###########################
# Development environment # # Development environment #
########################### ###########################
devShells.${system}.default = let devShells.${system}.default = nixpkgs.legacyPackages.${system}.mkShell {
inherit (sops-nix.packages.${system}) sops-import-keys-hook sops-init-gpg-key;
deploy-rs-bin = deploy-rs.packages.${system}.default;
pkgs = nixpkgs.legacyPackages.${system};
in
nixpkgs.legacyPackages.${system}.mkShell {
sopsPGPKeyDirs = ["./keys/hosts/" "./keys/users/"]; sopsPGPKeyDirs = ["./keys/hosts/" "./keys/users/"];
nativeBuildInputs = [ nativeBuildInputs = [
sops-import-keys-hook sops-nix.packages.${system}.sops-import-keys-hook
]; ];
packages = with pkgs; [ packages = [
nixfmt sops-nix.packages.${system}.sops-init-gpg-key
git-lfs deploy-rs.packages.${system}.default
sops-init-gpg-key
deploy-rs-bin
]; ];
}; };
}; };