nixos/zsh: allow fqdn hostname output

This commit is contained in:
Izorkin 2023-03-26 10:53:45 +03:00
parent 9448487d9f
commit 9fdf7027cc
No known key found for this signature in database
GPG Key ID: 1436C1B3F3679F09

View File

@ -236,6 +236,9 @@ in
setopt ${concatStringsSep " " cfg.setOptions}
''}
# Alternative method of determining short and full hostname.
HOST=${config.networking.fqdnOrHostName}
# Setup command line history.
# Don't export these, otherwise other shells (bash) will try to use same HISTFILE.
SAVEHIST=${toString cfg.histSize}