tweak boot configuration on nixdesk
This commit is contained in:
parent
719c099f9b
commit
2e1cdac694
1 changed files with 8 additions and 3 deletions
|
@ -15,6 +15,7 @@
|
||||||
boot = {
|
boot = {
|
||||||
kernelPackages = pkgs.linuxPackages_latest;
|
kernelPackages = pkgs.linuxPackages_latest;
|
||||||
initrd = {
|
initrd = {
|
||||||
|
verbose = false;
|
||||||
availableKernelModules = [
|
availableKernelModules = [
|
||||||
"nvme"
|
"nvme"
|
||||||
"xhci_pci"
|
"xhci_pci"
|
||||||
|
@ -30,7 +31,7 @@
|
||||||
# rtl88xxau-aircrack # usb wifi card
|
# rtl88xxau-aircrack # usb wifi card
|
||||||
];
|
];
|
||||||
loader = {
|
loader = {
|
||||||
timeout = 10;
|
timeout = 0;
|
||||||
systemd-boot = {
|
systemd-boot = {
|
||||||
enable = true;
|
enable = true;
|
||||||
consoleMode = "max";
|
consoleMode = "max";
|
||||||
|
@ -42,6 +43,7 @@
|
||||||
efiSysMountPoint = "/boot";
|
efiSysMountPoint = "/boot";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
tmp.cleanOnBoot = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems = {
|
fileSystems = {
|
||||||
|
@ -72,8 +74,11 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
boot.resumeDevice = "/dev/disk/by-uuid/d87276c0-ef9c-422e-b2de-effc1b47c654";
|
boot.resumeDevice = "/dev/disk/by-uuid/d87276c0-ef9c-422e-b2de-effc1b47c654";
|
||||||
# btrfs inspect-internal map-swapfile -r /.swapvol/swapfile
|
boot.kernelParams = [
|
||||||
boot.kernelParams = ["resume_offset=326444288"];
|
"nowatchdog"
|
||||||
|
# btrfs inspect-internal map-swapfile -r /.swapvol/swapfile
|
||||||
|
"resume_offset=326444288"
|
||||||
|
];
|
||||||
|
|
||||||
swapDevices = lib.singleton {
|
swapDevices = lib.singleton {
|
||||||
device = "/.swapvol/swapfile";
|
device = "/.swapvol/swapfile";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue