32 lines
534 B
Nix
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;
|
|
};
|
|
}
|