Get the large disk formatted and mounted on nocix-amd-legacy-quadcore

This commit is contained in:
Eli Ribble 2026-02-18 15:20:19 +00:00
parent 31335d19f7
commit 4f47636d0e
No known key found for this signature in database
2 changed files with 47 additions and 26 deletions

View file

@ -4,7 +4,7 @@
disko.devices = { disko.devices = {
disk = { disk = {
root = { root = {
device = "/dev/sda"; device = "/dev/sdb";
type = "disk"; type = "disk";
content = { content = {
type = "gpt"; type = "gpt";
@ -35,9 +35,8 @@
}; };
}; };
}; };
/*
data = { data = {
device = "/dev/sdb"; device = "/dev/sda";
type = "disk"; type = "disk";
content = { content = {
type = "gpt"; type = "gpt";
@ -56,7 +55,6 @@
}; };
}; };
}; };
*/
}; };
lvm_vg = { lvm_vg = {
pool = { pool = {

View file

@ -13,15 +13,38 @@
boot.kernelModules = [ ]; boot.kernelModules = [ ];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
# yeah, when I enabled this everything about the server died.
/* /*
> sudo lsblk -o NAME,UUID,MOUNTPOINT
NAME UUID MOUNTPOINT
sda
sda1 3d53510d-47ec-4b72-81f0-46ca2d7612f2
sdb
sdb1
sdb2 F635-99FA /boot
sdb3 Vd4Zk5-lUto-KdM8-RTRw-zNqU-PvpM-Ik8fBB
pool-root 392ad825-c133-4bf1-97f4-bedc7dffcff4 /
zram0 2c42e053-9c56-440d-84e7-e1dcc43ebae7 [SWAP]
fileSystems = { fileSystems = {
Commented out after getting:
error: The option `fileSystems."/".device' has conflicting definition values:
- In `/nix/store/gic0d1i76vscycwnmjjfny1g7vq42cl9-source/module.nix': "/dev/pool/root"
- In `/nix/store/1vmgswmnkfga5hnjlm5if86nd2j66a9s-source/host/nocix/amd-legacy-quadcore/hardware-configuration.nix': "/dev/disk/by-uuid/392ad825-c133-4bf1-97f4-bedc7dffcff4"
Use `lib.mkForce value` or `lib.mkDefault value` to change the priority on any of these definitions.
"/" = { "/" = {
device = "/dev/sda3"; device = "/dev/disk/by-uuid/392ad825-c133-4bf1-97f4-bedc7dffcff4";
fsType = "ext4";
};
"/boot" = {
device = "/dev/disk/by-uuid/F635-99FA";
fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ];
}; };
"/mnt/bigdisk" = { "/mnt/bigdisk" = {
device = "762be975-bbf0-4fd6-998f-7eb077b580cb"; device = "3d53510d-47ec-4b72-81f0-46ca2d7612f2";
options = [ "users" "nofail" ]; fsType = "btrfs";
neededForBoot = false;
options = [ "noatime" ];
}; };
}; };
*/ */