diff --git a/hosts/norman/.config/sway/config.d/inputs.conf b/hosts/norman/.config/sway/config.d/inputs.conf new file mode 100644 index 00000000..0fa6d5af --- /dev/null +++ b/hosts/norman/.config/sway/config.d/inputs.conf @@ -0,0 +1 @@ +input 2:7:SynPS/2_Synaptics_TouchPad events disabled diff --git a/hosts/norman/configuration.nix b/hosts/norman/configuration.nix index 915ac9ec..fc379738 100644 --- a/hosts/norman/configuration.nix +++ b/hosts/norman/configuration.nix @@ -36,8 +36,8 @@ services.tlp = { enable = true; settings = { - CPU_SCALING_GOVERNOR_ON_BAT = "powersave"; CPU_SCALING_GOVERNOR_ON_AC = "performance"; + CPU_SCALING_GOVERNOR_ON_BAT = "powersave"; # The following prevents the battery from charging fully to # preserve lifetime. Run `tlp fullcharge` to temporarily force @@ -49,7 +49,7 @@ # 100 being the maximum, limit the speed of my CPU to reduce # heat and increase battery usage: CPU_MAX_PERF_ON_AC = 100; - CPU_MAX_PERF_ON_BAT = 30; + CPU_MAX_PERF_ON_BAT = 50; }; }; diff --git a/hosts/norman/norman.nix b/hosts/norman/norman.nix index 55d307b5..d5734e32 100644 --- a/hosts/norman/norman.nix +++ b/hosts/norman/norman.nix @@ -20,6 +20,7 @@ in { pub-solar.audio.bluetooth.enable = false; home-manager.users."${psCfg.user.name}".xdg.configFile = mkIf psCfg.sway.enable { + "sway/config.d/10-inputs.conf".source = ./.config/sway/config.d/inputs.conf; "sway/config.d/10-screens.conf".source = ./.config/sway/config.d/screens.conf; "sway/config.d/10-custom-keybindings.conf".source = ./.config/sway/config.d/custom-keybindings.conf; }; diff --git a/hosts/norman/wireguard.nix b/hosts/norman/wireguard.nix index df4f96aa..2b5f896d 100644 --- a/hosts/norman/wireguard.nix +++ b/hosts/norman/wireguard.nix @@ -82,7 +82,7 @@ ]; # Set this to the server IP and port. - endpoint = "vpn.gssws.de:51899"; + endpoint = "80.244.242.2:51899"; # Send keepalives every 25 seconds. Important to keep NAT tables alive. persistentKeepalive = 25;