nix-config/config/optional/dev.nix
Patrick fcd5a27dce
chore: new README
chore: new structure
2024-04-11 23:11:53 +02:00

32 lines
534 B
Nix

{
lib,
minimal,
pkgs,
...
}:
lib.optionalAttrs (!minimal) {
environment.systemPackages = with pkgs; [
gnumake
pciutils
gcc
usbutils
man-pages
man-pages-posix
];
services.nixseparatedebuginfod.enable = true;
environment = {
enableDebugInfo = true;
shellInit = ''
gpg-connect-agent /bye
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
umask 077
'';
};
documentation = {
dev.enable = true;
man.enable = true;
info.enable = false;
};
}