flake.nix: Clean up devshell
This commit is contained in:
parent
bec05bafb1
commit
3e13b575b0
27
flake.nix
27
flake.nix
|
@ -111,23 +111,16 @@
|
||||||
###########################
|
###########################
|
||||||
# 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;
|
sopsPGPKeyDirs = ["./keys/hosts/" "./keys/users/"];
|
||||||
deploy-rs-bin = deploy-rs.packages.${system}.default;
|
nativeBuildInputs = [
|
||||||
pkgs = nixpkgs.legacyPackages.${system};
|
sops-nix.packages.${system}.sops-import-keys-hook
|
||||||
in
|
];
|
||||||
nixpkgs.legacyPackages.${system}.mkShell {
|
|
||||||
sopsPGPKeyDirs = ["./keys/hosts/" "./keys/users/"];
|
|
||||||
nativeBuildInputs = [
|
|
||||||
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
|
};
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue