My NixOS config, I don't know what I am doing, don't use this
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fixed battery power management settings & cleanup

+3 -3
+3 -3
hosts/Natsuki/default.nix
··· 1 - { config, lib, pkgs, inputs, username, ... }: 1 + { config, lib, pkgs, inputs, username, hostname, ... }: 2 2 let 3 3 stdOpts = [ "compress=zstd:3" "noatime" "ssd" "discard=async" ]; 4 4 cacheOpts = [ "compress=zstd:1" "noatime" "ssd" "discard=async" ]; 5 5 in { 6 6 imports = [ ./hardware-configuration.nix inputs.nixos-hardware.nixosModules.lenovo-thinkpad-t480s ]; 7 7 8 - networking.hostName = "Natsuki"; 8 + networking.hostName = hostname; 9 9 10 10 system.stateVersion = "25.11"; 11 11 ··· 34 34 CPU_BOOST_ON_AC = 1; 35 35 36 36 CPU_HWP_DYN_BOOST_ON_BAT = 0; 37 - CPU_HWP_DYN_BOOST_ON_BAT = 1; 37 + CPU_HWP_DYN_BOOST_ON_AC = 1; 38 38 39 39 WIFI_PWR_ON_BAT = "on"; 40 40 WIFI_PWR_ON_AC = "off";