From d3de03009953054b2dfdf3540014bb6c0bde1670 Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Thu, 4 Jul 2024 13:03:44 +0200 Subject: fix disk id and hostname and hostid --- beta/configuration.nix | 4 ++-- beta/hardware-configuration.nix | 9 +-------- beta/install.txt | 4 ++-- 3 files changed, 5 insertions(+), 12 deletions(-) (limited to 'beta') diff --git a/beta/configuration.nix b/beta/configuration.nix index 2f139e9..047b551 100644 --- a/beta/configuration.nix +++ b/beta/configuration.nix @@ -18,8 +18,8 @@ hardware.graphics.extraPackages = with pkgs; [ amdvlk rocm-opencl-icd rocm-opencl-runtime ]; # our hostname and an ID for ZFS - networking.hostName = "mini"; - networking.hostId = "e925ccfb"; + networking.hostName = "beta"; + networking.hostId = "3f20def9"; # classic dhcpcd networking.networkmanager.enable = false; diff --git a/beta/hardware-configuration.nix b/beta/hardware-configuration.nix index 8472002..b2d68f4 100644 --- a/beta/hardware-configuration.nix +++ b/beta/hardware-configuration.nix @@ -12,18 +12,11 @@ # efi partition fileSystems."/boot" = - { device = "/dev/disk/by-id/nvme-CT4000P3PSSD8_2325E6E63746-part1"; + { device = "/dev/disk/by-id/nvme-SAMSUNG_MZVLB1T0HBLR-000L2_S4DZNX0R362286-part1"; fsType = "vfat"; neededForBoot = true; }; - # vms - fileSystems."/home/cullmann/vms" = - { device = "vpool/vms"; - fsType = "zfs"; - depends = [ "/home" ]; - }; - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; } diff --git a/beta/install.txt b/beta/install.txt index 8e59841..4ff14ec 100644 --- a/beta/install.txt +++ b/beta/install.txt @@ -25,8 +25,8 @@ efibootmgr # Defining some helper variables (these will be used in later code # blocks as well, so make sure to use the same terminal session or # redefine them later) -DISK=/dev/disk/by-id/nvme-CT4000P3PSSD8_2325E6E63746 -HOST=mini +DISK=/dev/disk/by-id/nvme-SAMSUNG_MZVLB1T0HBLR-000L2_S4DZNX0R362286 +HOST=beta # ensure 4k sector size nvme format --lbaf=1 --force $DISK -- cgit v1.2.3