mirror of
https://github.com/elitak/nixos-infect.git
synced 2024-08-15 14:31:01 +03:00
Fix installation with FQDNs (#122)
This commit is contained in:
parent
18a03664f3
commit
3317b8a82b
@ -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 New Issue
Block a user