Enable systemd-resolved and hardware watchdog; update flake.lock
This commit is contained in:
parent
92ea9d16f8
commit
0535b57581
2 changed files with 50 additions and 41 deletions
|
|
@ -9,11 +9,20 @@
|
|||
|
||||
# Connectivity
|
||||
networking.networkmanager.enable = true;
|
||||
services.resolved.enable = true;
|
||||
hardware.bluetooth.enable = true;
|
||||
|
||||
# System76
|
||||
hardware.system76.enableAll = true;
|
||||
|
||||
# Hardware watchdog for freeze detection and recovery
|
||||
boot.kernelParams = [ "nmi_watchdog=1" ];
|
||||
systemd.watchdog = {
|
||||
runtimeTime = "30s"; # Reboot if system hangs for 30 seconds
|
||||
rebootTime = "10m"; # Timeout for reboot to complete
|
||||
kexecTime = "10m"; # Timeout for kexec to complete
|
||||
};
|
||||
|
||||
services = {
|
||||
# https://discourse.nixos.org/t/very-high-fan-noises-on-nixos-using-a-system76-thelio/23875/10
|
||||
# Fixes insane jet speed fan noise
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue