mirror of
https://github.com/sstent/vmimages.git
synced 2026-01-25 14:41:44 +00:00
sync
This commit is contained in:
25
shell.nix
25
shell.nix
@@ -1,19 +1,10 @@
|
||||
{ mkShell
|
||||
, sops
|
||||
, deploy-rs
|
||||
, nixpkgs-fmt
|
||||
, python3
|
||||
, pkgs
|
||||
}:
|
||||
# Shell for bootstrapping flake-enabled nix and home-manager
|
||||
# You can enter it through 'nix develop' or (legacy) 'nix-shell'
|
||||
|
||||
mkShell {
|
||||
# sopsPGPKeyDirs = [ "./secrets/keys" ];
|
||||
nativeBuildInputs = [
|
||||
python3.pkgs.invoke
|
||||
pkgs.ssh-to-age
|
||||
pkgs.age
|
||||
sops
|
||||
deploy-rs
|
||||
nixpkgs-fmt
|
||||
];
|
||||
{ pkgs ? (import ./nixpkgs.nix) { } }: {
|
||||
default = pkgs.mkShell {
|
||||
# Enable experimental features without having to specify the argument
|
||||
NIX_CONFIG = "experimental-features = nix-command flakes";
|
||||
nativeBuildInputs = with pkgs; [ nix home-manager git ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user