From b46db84de9baed864777255998f376ca24e4d1cc Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Thu, 22 Feb 2024 23:41:27 +0300 Subject: [PATCH] Fsight : Hardcode drive paths because of msdos part table. --- .config/linux/system/host/fsight/Configuration.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.config/linux/system/host/fsight/Configuration.nix b/.config/linux/system/host/fsight/Configuration.nix index 4443e72..6e31fb8 100644 --- a/.config/linux/system/host/fsight/Configuration.nix +++ b/.config/linux/system/host/fsight/Configuration.nix @@ -8,6 +8,15 @@ boot.loader.grub.device = "/dev/sda"; boot.loader.grub.useOSProber = true; + fileSystems."/" = lib.mkForce { + device = "/dev/sda2"; + fsType = "ext4"; + }; + fileSystems."/boot" = lib.mkForce { + device = "/dev/sda1"; + fsType = "vfat"; + }; + # Root password. users.users.root.hashedPassword = lib.mkForce "$y$j9T$d4HfwutZr.eNHuLJYRuro/$7swZfgCNS6jEXHFCxsW5um/68jX9BRiiZD1BYcm/gD/"; }