mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 19:51:34 +01:00
Reinstall inspiron
This commit is contained in:
parent
9788f1bea6
commit
2a4f92d952
2 changed files with 47 additions and 50 deletions
|
|
@ -1,7 +1,6 @@
|
||||||
{
|
{
|
||||||
disko.devices = {
|
disko.devices = {
|
||||||
disk = {
|
disk.main = {
|
||||||
main = {
|
|
||||||
type = "disk";
|
type = "disk";
|
||||||
device = "/dev/nvme0n1";
|
device = "/dev/nvme0n1";
|
||||||
content = {
|
content = {
|
||||||
|
|
@ -24,8 +23,9 @@
|
||||||
type = "luks";
|
type = "luks";
|
||||||
settings = {
|
settings = {
|
||||||
allowDiscards = true;
|
allowDiscards = true;
|
||||||
keyFile = "/dev/disk/by-id/usb-SMI_USB_DISK-0:0";
|
bypassWorkqueues = true;
|
||||||
keyFileSize = 4096;
|
keyFile = "/dev/disk/by-id/usb-SCSI_DISK-0:0";
|
||||||
|
keyFileSize = 512;
|
||||||
keyFileTimeout = 5;
|
keyFileTimeout = 5;
|
||||||
};
|
};
|
||||||
additionalKeyFiles = [ "/tmp/secret.key" ];
|
additionalKeyFiles = [ "/tmp/secret.key" ];
|
||||||
|
|
@ -38,9 +38,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
lvm_vg.pool = {
|
||||||
lvm_vg = {
|
|
||||||
pool = {
|
|
||||||
type = "lvm_vg";
|
type = "lvm_vg";
|
||||||
lvs = {
|
lvs = {
|
||||||
swap = {
|
swap = {
|
||||||
|
|
@ -62,5 +60,4 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
settings = {
|
settings = {
|
||||||
devices = {
|
devices = {
|
||||||
north.id = "ROS2S76-ULQWVFC-7KNQQ6Q-MNIWNKT-2QOPPHY-FFQZNVM-GUJRTHE-NZBM3QY";
|
north.id = "ROS2S76-ULQWVFC-7KNQQ6Q-MNIWNKT-2QOPPHY-FFQZNVM-GUJRTHE-NZBM3QY";
|
||||||
inspiron.id = "K7V6PJV-3HLR6FI-VTFRJRN-ECG2ZYI-TNT4F5G-2WVQBDW-S77CHYL-VCAATAV";
|
inspiron.id = "DLFGFCF-MTYXA23-F235RKL-QFZ4GB6-BUHTYMX-DJCTFRA-NVMAE5Y-R63NMQY";
|
||||||
};
|
};
|
||||||
|
|
||||||
folders =
|
folders =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue