Compare commits
1 commit
a12282c583
...
7e8a14383c
Author | SHA1 | Date | |
---|---|---|---|
Tristan Daniël Maat | 7e8a14383c |
27
flake.nix
27
flake.nix
|
@ -112,16 +112,23 @@
|
||||||
###########################
|
###########################
|
||||||
# Development environment #
|
# Development environment #
|
||||||
###########################
|
###########################
|
||||||
devShells.${system}.default = nixpkgs.legacyPackages.${system}.mkShell {
|
devShells.${system}.default = let
|
||||||
sopsPGPKeyDirs = ["./keys/hosts/" "./keys/users/"];
|
inherit (sops-nix.packages.${system}) sops-import-keys-hook sops-init-gpg-key;
|
||||||
nativeBuildInputs = [
|
deploy-rs-bin = deploy-rs.packages.${system}.default;
|
||||||
sops-nix.packages.${system}.sops-import-keys-hook
|
pkgs = nixpkgs.legacyPackages.${system};
|
||||||
];
|
in
|
||||||
|
nixpkgs.legacyPackages.${system}.mkShell {
|
||||||
|
sopsPGPKeyDirs = ["./keys/hosts/" "./keys/users/"];
|
||||||
|
nativeBuildInputs = [
|
||||||
|
sops-import-keys-hook
|
||||||
|
];
|
||||||
|
|
||||||
packages = [
|
packages = with pkgs; [
|
||||||
sops-nix.packages.${system}.sops-init-gpg-key
|
nixfmt
|
||||||
deploy-rs.packages.${system}.default
|
git-lfs
|
||||||
];
|
sops-init-gpg-key
|
||||||
};
|
deploy-rs-bin
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue