2024-07-17 20:22:16 -05:00
|
|
|
{...}: {
|
2023-10-03 13:18:12 -05:00
|
|
|
networking.hostName = "thinker";
|
2023-10-03 11:52:44 -05:00
|
|
|
|
2024-01-17 09:19:07 -06:00
|
|
|
boot = {
|
|
|
|
loader = {
|
|
|
|
efi.canTouchEfiVariables = true;
|
|
|
|
systemd-boot.enable = true;
|
|
|
|
};
|
|
|
|
# sudo filefrag -v /swap/swapfile | awk '$1=="0:" {print substr($4, 1, length($4)-2)}'
|
|
|
|
# the above won't work for btrfs, instead you need
|
|
|
|
# btrfs inspect-internal map-swapfile -r /swap/swapfile
|
|
|
|
# https://wiki.archlinux.org/title/Power_management/Suspend_and_hibernate#Hibernation_into_swap_file
|
2024-07-17 20:22:16 -05:00
|
|
|
kernelParams = ["boot.shell_on_fail"];
|
2024-01-17 09:19:07 -06:00
|
|
|
initrd.availableKernelModules = ["xhci_pci" "nvme" "ahci"];
|
|
|
|
};
|
2023-11-21 10:14:58 -06:00
|
|
|
|
2024-07-17 20:22:16 -05:00
|
|
|
hardware.bluetooth.enable = true;
|
2023-09-04 11:40:30 -05:00
|
|
|
}
|