nix-config/shell.nix

34 lines
804 B
Nix
Raw Normal View History

# Shell for bootstrapping flake-enabled nix and home-manager
# Enter it through 'nix develop' or (legacy) 'nix-shell'
{ pkgs ? (import ./nixpkgs.nix) { overlays = [ ]; } }: {
default = pkgs.mkShell {
# Enable experimental features without having to specify the argument
NIX_CONFIG = "experimental-features = nix-command flakes repl-flake";
nativeBuildInputs = with pkgs; [
nix
home-manager
git
2023-09-22 14:42:28 +00:00
vim
emacs
2023-09-22 14:46:38 +00:00
tig
2023-09-26 17:44:54 +00:00
tree
2023-09-22 17:06:18 +00:00
ripgrep
sops
ssh-to-age
gnupg
age
2023-09-19 17:05:08 +00:00
yubikey-manager
2023-09-20 14:28:57 +00:00
pinentry-curses
2023-11-27 17:05:56 +00:00
kubectl
];
};
2024-06-06 15:17:28 +00:00
services.dbus.packages = [ pkgs.gcr ];
#services.pcscd.enable = true;
services.gnupg.agent = {
enable = true;
2024-06-06 15:17:28 +00:00
pinentryPackage = pkgs.pinentry-curses;
enableSSHSupport = true;
2023-09-20 14:49:39 +00:00
};
}