Fix installation with FQDNs (#122)

This commit is contained in:
Astrid Yu 2022-11-14 19:30:52 -08:00 committed by GitHub
parent 18a03664f3
commit 3317b8a82b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -29,7 +29,8 @@ makeConf() {
boot.cleanTmpDir = true;
zramSwap.enable = ${zramswap};
networking.hostName = "$(hostname)";
networking.hostName = "$(hostname -s)";
networking.domain = "$(hostname -d)";
services.openssh.enable = true;
users.users.root.openssh.authorizedKeys.keys = [$(while read -r line; do echo -n "
\"$line\" "; done <<< "$keys")