fwminex: swap
This commit is contained in:
parent
90be8b6e5f
commit
1430bf9d6d
@ -11,7 +11,7 @@
|
|||||||
bootDevices = ["nvme-Samsung_SSD_970_EVO_Plus_2TB_S6P1NS0TA01331A"];
|
bootDevices = ["nvme-Samsung_SSD_970_EVO_Plus_2TB_S6P1NS0TA01331A"];
|
||||||
immutable = false;
|
immutable = false;
|
||||||
forceNoDev2305 = true;
|
forceNoDev2305 = true;
|
||||||
availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usbhid" ];
|
availableKernelModules = ["xhci_pci" "thunderbolt" "nvme" "usbhid"];
|
||||||
removableEfi = true;
|
removableEfi = true;
|
||||||
partitionScheme = {
|
partitionScheme = {
|
||||||
efiBoot = "-part1";
|
efiBoot = "-part1";
|
||||||
@ -71,7 +71,6 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
email = "motiejus+alerts@jakstys.lt";
|
email = "motiejus+alerts@jakstys.lt";
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
@ -97,7 +96,6 @@
|
|||||||
user = "motiejus";
|
user = "motiejus";
|
||||||
group = "users";
|
group = "users";
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -109,7 +109,9 @@ in {
|
|||||||
map (diskName: diskName + cfg.partitionScheme.efiBoot)
|
map (diskName: diskName + cfg.partitionScheme.efiBoot)
|
||||||
cfg.bootDevices;
|
cfg.bootDevices;
|
||||||
swapPartitions =
|
swapPartitions =
|
||||||
map (diskName: diskName + cfg.partitionScheme.swap) cfg.bootDevices;
|
if cfg.partitionScheme ? swap
|
||||||
|
then map (diskName: diskName + cfg.partitionScheme.swap) cfg.bootDevices
|
||||||
|
else [];
|
||||||
};
|
};
|
||||||
boot = {
|
boot = {
|
||||||
kernelPackages =
|
kernelPackages =
|
||||||
|
Loading…
Reference in New Issue
Block a user