rix101/shells/default/default.nix
reo101 e3b1539b41
refactor(flake)!: deduplicate code in configurations flake module
Pass around `perSystem`'s `pkgs` instances to the system configurations
Some more refactoring in `configurations`' `mkHost` functions
Also start using `home-manager`'s `useGlobalPkgs` option
Also use `mkShellNoCC` for default `devShell`
Also `nix flake update`
2024-07-20 14:30:25 +03:00

20 lines
491 B
Nix

# Shell for bootstrapping flake-enabled nix and other tooling
{ pkgs
, inputs
, ...
}: pkgs.mkShellNoCC {
NIX_CONFIG = ''
extra-experimental-features = nix-command flakes
'';
nativeBuildInputs = with pkgs; [
nixVersions.monitored.latest
home-manager
git
wireguard-tools
deploy-rs
# inputs.agenix.packages.${pkgs.system}.agenix
# inputs.ragenix.packages.${pkgs.system}.ragenix
rage
inputs.agenix-rekey.packages.${pkgs.system}.agenix-rekey
];
}