This commit is contained in:
2023-02-25 04:46:28 +00:00
parent 6e4afd914a
commit c0305a7ed8
38 changed files with 536 additions and 451 deletions

View File

@@ -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 ];
};
}