all repos — dotfiles @ 1e364fcfa42dbc4f3d584807ac068c090214a2db

my *nix dotfiles

nix: 300mhz kernel
Anirudh Oppiliappan x@icyphox.sh
Mon, 02 May 2022 10:02:55 +0530
commit

1e364fcfa42dbc4f3d584807ac068c090214a2db

parent

03cc0db36a18726da8b9f657d146e2449bbbe004

1 files changed, 15 insertions(+), 4 deletions(-)

jump to
M nix/hosts/wyndle/configuration.nixnix/hosts/wyndle/configuration.nix

@@ -11,9 +11,20 @@ "${asusctl-tar}/nixos/modules/services/misc/asusctl.nix"

"${asusctl-tar}/nixos/modules/services/misc/supergfxctl.nix" ]; - boot.loader.systemd-boot.enable = true; - boot.loader.efi.canTouchEfiVariables = true; - boot.kernel.sysctl."net.ipv4.ip_forward" = 1; + boot = { + loader.systemd-boot.enable = true; + loader.efi.canTouchEfiVariables = true; + kernel.sysctl."net.ipv4.ip_forward" = 1; + kernelParams = [ "mem_sleep_default=deep" ]; + kernelPatches = [{ + name = "three-hundred-hertz"; + patch = null; + extraConfig = '' + HZ_300 y + HZ 300 + ''; + }]; + }; networking = { nameservers = [ "1.1.1.1" "1.0.0.1" ];

@@ -150,7 +161,7 @@ Option "TripleBuffer" "on"

''; }; tailscale.enable = true; - power-profiles-daemon.enable = true; + tlp.enable = true; # 1. chmod for rootless backligh1t # 2. lotus58 bootloader mode for rootless qmk flashing udev = {