Reinstall on new hard drive

This commit is contained in:
SebastianStork 2024-04-28 17:22:24 +02:00
parent bf9ca7408d
commit e6052f7b16
3 changed files with 23 additions and 27 deletions

View file

@ -1,29 +1,25 @@
{ {
disko.devices = { disko.devices.disk.main = {
disk = { device = "/dev/nvme0n1";
vdb = { type = "disk";
device = "/dev/sda"; content = {
type = "disk"; type = "gpt";
content = { partitions = {
type = "gpt"; ESP = {
partitions = { type = "EF00";
ESP = { size = "500M";
type = "EF00"; content = {
size = "500M"; type = "filesystem";
content = { format = "vfat";
type = "filesystem"; mountpoint = "/boot";
format = "vfat"; };
mountpoint = "/boot"; };
}; root = {
}; size = "100%";
root = { content = {
size = "100%"; type = "filesystem";
content = { format = "ext4";
type = "filesystem"; mountpoint = "/";
format = "ext4";
mountpoint = "/";
};
};
}; };
}; };
}; };

View file

@ -14,6 +14,7 @@
boot.initrd.availableKernelModules = [ boot.initrd.availableKernelModules = [
"xhci_pci" "xhci_pci"
"ahci" "ahci"
"nvme"
"usb_storage" "usb_storage"
"usbhid" "usbhid"
"sd_mod" "sd_mod"
@ -85,7 +86,6 @@
MAXTEMP=hwmon1/pwm1=100 hwmon1/pwm2=100 hwmon1/pwm3=100 hwmon1/pwm4=100 MAXTEMP=hwmon1/pwm1=100 hwmon1/pwm2=100 hwmon1/pwm3=100 hwmon1/pwm4=100
MINSTART=hwmon1/pwm1=16 hwmon1/pwm2=16 hwmon1/pwm3=16 hwmon1/pwm4=30 MINSTART=hwmon1/pwm1=16 hwmon1/pwm2=16 hwmon1/pwm3=16 hwmon1/pwm4=30
MINSTOP=hwmon1/pwm1=16 hwmon1/pwm2=16 hwmon1/pwm3=16 hwmon1/pwm4=30 MINSTOP=hwmon1/pwm1=16 hwmon1/pwm2=16 hwmon1/pwm3=16 hwmon1/pwm4=30
AVERAGE=
''; '';
}; };
} }

View file

@ -18,7 +18,7 @@
settings = { settings = {
devices = { devices = {
north.id = "DIPH5BN-N2XV57S-23W63KD-UZOZ3UI-RB24QRJ-VVPD4YM-ZMFZIXN-GPX4YA4"; north.id = "ROS2S76-ULQWVFC-7KNQQ6Q-MNIWNKT-2QOPPHY-FFQZNVM-GUJRTHE-NZBM3QY";
inspiron.id = "GUXHL6J-J2HWYNN-7JZJ5CN-6LPYGJD-H7GYRLQ-ORZ4PJJ-5K4WT7I-MELMIQO"; inspiron.id = "GUXHL6J-J2HWYNN-7JZJ5CN-6LPYGJD-H7GYRLQ-ORZ4PJJ-5K4WT7I-MELMIQO";
}; };