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;
|
services.nixseparatedebuginfod.enable = true;
|
||||||
environment = {
|
environment = {
|
||||||
enableDebugInfo = true;
|
enableDebugInfo = true;
|
||||||
shellInit = ''
|
|
||||||
gpg-connect-agent /bye
|
|
||||||
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
|
|
||||||
umask 077
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
documentation = {
|
documentation = {
|
||||||
dev.enable = true;
|
dev.enable = true;
|
||||||
|
@ -33,4 +28,9 @@ lib.optionalAttrs (!minimal) {
|
||||||
info.enable = false;
|
info.enable = false;
|
||||||
nixos.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-backward-end history-search-end
|
||||||
zle -N history-beginning-search-forward-end history-search-end
|
zle -N history-beginning-search-forward-end history-search-end
|
||||||
fi
|
fi
|
||||||
|
|
||||||
'';
|
'';
|
||||||
plugins = [
|
plugins = [
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue