From 32c89f9ae40ea06b3d3d254d61fc449b14bda5c8 Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Tue, 6 Feb 2024 18:38:11 +0100 Subject: [PATCH] configure hostname --- template/README.md | 4 ++++ template/flake.nix | 9 ++------- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/template/README.md b/template/README.md index 55ca2c6..e2ee468 100644 --- a/template/README.md +++ b/template/README.md @@ -39,6 +39,10 @@ Furthermore, in [./flake.nix](./flake.nix) replace `disko.devices.disk.disk1.dev --- +Additionally, adjust `networking.hostName`. + +--- + Lastly, in [./flake.nix](./flake.nix) replace `pbkdf-memory` with your amount of RAM - 500 MB. --- diff --git a/template/flake.nix b/template/flake.nix index c275685..ff3bcb8 100644 --- a/template/flake.nix +++ b/template/flake.nix @@ -52,13 +52,8 @@ ./ssh-fde-unlock.nix { - # The host yodaHP did not boot after installation when using grub. - #boot.loader.grub = { - # # No need to set devices, disko will add all devices that have a EF02 partition to the list already. - # # devices = []; - # efiSupport = true; - # efiInstallAsRemovable = true; - #}; + networking.hostName = "yodaHP"; + # Check if EFI or BIOS: # efibootmgr # => EFI variables are not supported on this system -> BIOS