From 9e3bdaabb6d72dd5ba72eedde615d80fb2e8ce4e Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Date: Tue, 18 Apr 2023 18:28:37 +0200 Subject: [PATCH] Move disk selection to configuration.nix --- xeon07/boot.nix | 3 --- xeon07/configuration.nix | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/xeon07/boot.nix b/xeon07/boot.nix index 56a2a31..bd8f5a4 100644 --- a/xeon07/boot.nix +++ b/xeon07/boot.nix @@ -5,9 +5,6 @@ boot.loader.grub.enable = true; boot.loader.grub.version = 2; - # Select the this using the ID to avoid mismatches - boot.loader.grub.device = "/dev/disk/by-id/ata-INTEL_SSDSC2BB240G7_PHDV6462004Y240AGN"; - # Enable GRUB2 serial console boot.loader.grub.extraConfig = '' serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1 diff --git a/xeon07/configuration.nix b/xeon07/configuration.nix index 282c5dd..a2fc393 100644 --- a/xeon07/configuration.nix +++ b/xeon07/configuration.nix @@ -19,6 +19,9 @@ ]; + # Select the this using the ID to avoid mismatches + boot.loader.grub.device = "/dev/disk/by-id/ata-INTEL_SSDSC2BB240G7_PHDV6462004Y240AGN"; + systemd.services."serial-getty@ttyS0" = { enable = true; wantedBy = [ "getty.target" ];