Change the hostname to "tlaternet"

Apparently nixos doesn't support "." in host names anymore.
This commit is contained in:
Tristan Daniël Maat 2020-07-08 18:58:23 +01:00
parent fe3f72d581
commit 8fe36b187b
Signed by: tlater
GPG key ID: 49670FD774E43268
2 changed files with 4 additions and 4 deletions

View file

@ -1,11 +1,11 @@
result: etc/nixos/configuration.nix
nix-build '<nixpkgs/nixos>' -A vm -k -I nixos-config=$^
tlater.net.qcow2:
tlaternet.qcow2:
nix-shell -p qemu --run 'qemu-img create -f qcow2 $@ 10G'
run: result tlater.net.qcow2
QEMU_OPTS="-m 4096 -nographic" QEMU_NET_OPTS="hostfwd=tcp::2222-:2222,hostfwd=tcp::8000-:80" ./result/bin/run-tlater.net-vm
run: result tlaternet.qcow2
QEMU_OPTS="-m 4096 -nographic" QEMU_NET_OPTS="hostfwd=tcp::2222-:2222,hostfwd=tcp::8000-:80" ./result/bin/run-tlaternet-vm
format: $(wildcard etc/nixos/**/*.nix)
nix-shell -p nixpkgs-fmt --run 'nixpkgs-fmt $^'

View file

@ -17,7 +17,7 @@
];
networking = {
hostName = "tlater.net";
hostName = "tlaternet";
# useDHCP is deprecated
useDHCP = false;