fix: only enable dev shell start for user
This commit is contained in:
parent
64e4b50b5a
commit
a5a28c31cb
|
@ -20,11 +20,6 @@ lib.optionalAttrs (!minimal) {
|
|||
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;
|
||||
|
@ -33,4 +28,9 @@ lib.optionalAttrs (!minimal) {
|
|||
info.enable = false;
|
||||
nixos.enable = false;
|
||||
};
|
||||
hm.programs.zsh.initExtra = ''
|
||||
gpg-connect-agent /bye
|
||||
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
|
||||
umask 077
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -39,7 +39,6 @@
|
|||
zle -N history-beginning-search-backward-end history-search-end
|
||||
zle -N history-beginning-search-forward-end history-search-end
|
||||
fi
|
||||
|
||||
'';
|
||||
plugins = [
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue