flake.nix: set default hostname for most nixos hosts

This commit is contained in:
h7x4
2026-01-22 15:49:09 +09:00
parent e2d553af19
commit 12477aeb34
13 changed files with 3 additions and 22 deletions

View File

@@ -22,8 +22,6 @@
boot.loader.systemd-boot.enable = false;
boot.loader.grub.device = "/dev/sda";
networking.hostName = "wenche"; # Define your hostname.
systemd.network.networks."30-ens18" = values.defaultNetworkConfig // {
matchConfig.Name = "ens18";
address = with values.hosts.wenche; [ (ipv4 + "/25") (ipv6 + "/64") ];