set the hostname in the hardware config

This commit is contained in:
Andreas Zweili 2021-11-22 15:35:09 +01:00
parent db59d0e5a8
commit f8817dd1a5
4 changed files with 3 additions and 2 deletions

View File

@ -13,8 +13,6 @@
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
networking.hostName = "staubfinger"; # Define your hostname.
# Set your time zone.
time.timeZone = "Europe/Zurich";

View File

@ -11,6 +11,7 @@
./hardware-configuration.nix
];
networking.hostName = "staubfinger"; # Define your hostname.
networking.interfaces.enp0s20u1.useDHCP = true;
environment.variables = {

View File

@ -11,6 +11,7 @@
./hardware-configuration.nix
];
networking.hostName = "nixos-vm"; # Define your hostname.
networking.interfaces.enp0s3.useDHCP = true;
environment.variables = {

View File

@ -11,6 +11,7 @@
./hardware-configuration.nix
];
networking.hostName = "gwyn"; # Define your hostname.
networking.interfaces.enp0s3.useDHCP = true;
environment.variables = {