diff --git a/modules/nixos/common.nix b/modules/nixos/common.nix index fc6c3e4..e823c2f 100644 --- a/modules/nixos/common.nix +++ b/modules/nixos/common.nix @@ -196,6 +196,7 @@ in { extraHosts = '' ::1 host.docker.internal 127.0.0.1 host.docker.internal + ::1 host.containers.internal 127.0.0.1 host.containers.internal ''; diff --git a/nixos/foxtrot.nix b/nixos/foxtrot.nix index 18768b4..590de12 100644 --- a/nixos/foxtrot.nix +++ b/nixos/foxtrot.nix @@ -189,6 +189,10 @@ in { powerOnBoot = false; }; powerManagement.cpuFreqGovernor = "ondemand"; + powerManagement.resumeCommands = '' + modprobe -rv mt7921e + modprobe -v mt7921e + ''; services.power-profiles-daemon = { enable = true;