forked from Mirrors/nixos-infect
Fix installation with FQDNs (#122)
This commit is contained in:
parent
18a03664f3
commit
3317b8a82b
1 changed files with 2 additions and 1 deletions
|
@ -29,7 +29,8 @@ makeConf() {
|
||||||
|
|
||||||
boot.cleanTmpDir = true;
|
boot.cleanTmpDir = true;
|
||||||
zramSwap.enable = ${zramswap};
|
zramSwap.enable = ${zramswap};
|
||||||
networking.hostName = "$(hostname)";
|
networking.hostName = "$(hostname -s)";
|
||||||
|
networking.domain = "$(hostname -d)";
|
||||||
services.openssh.enable = true;
|
services.openssh.enable = true;
|
||||||
users.users.root.openssh.authorizedKeys.keys = [$(while read -r line; do echo -n "
|
users.users.root.openssh.authorizedKeys.keys = [$(while read -r line; do echo -n "
|
||||||
\"$line\" "; done <<< "$keys")
|
\"$line\" "; done <<< "$keys")
|
||||||
|
|
Loading…
Reference in a new issue