diff --git a/hosts/dingserver/caddy.nix b/hosts/dingserver/caddy.nix index 974b3c8..8ef6621 100644 --- a/hosts/dingserver/caddy.nix +++ b/hosts/dingserver/caddy.nix @@ -8,7 +8,6 @@ services.caddy = { enable = true; virtualHosts = { - "http://metrics.town" = { extraConfig = '' reverse_proxy http://localhost:3000 diff --git a/hosts/dingserver/configuration.nix b/hosts/dingserver/configuration.nix index 008fff9..2ad303f 100644 --- a/hosts/dingserver/configuration.nix +++ b/hosts/dingserver/configuration.nix @@ -29,7 +29,7 @@ firewall.interfaces = { "tailscale0" = { - allowedUDPPorts = [ 41641 ]; + allowedUDPPorts = [41641]; }; }; }; diff --git a/hosts/pingbox/configuration.nix b/hosts/pingbox/configuration.nix index 1d2505f..c733687 100644 --- a/hosts/pingbox/configuration.nix +++ b/hosts/pingbox/configuration.nix @@ -13,13 +13,10 @@ ../common/graphical ]; - powerManagement = { - enable = true; - powertop.enable = true; - }; - boot.resumeDevice = "/dev/disk/by-label/swap"; + boot.kernelParams = ["nvme.noacpi=1"]; + hardware.acpilight.enable = true; networking = { @@ -30,6 +27,13 @@ services = { fprintd.enable = true; + tlp = { + enable = true; + settings = { + PCIE_ASPM_ON_BAT = "powersupersave"; + }; + }; + xserver = { dpi = 144; @@ -39,16 +43,8 @@ tapping = true; }; }; - - logind = { - lidSwitch = "suspend-then-hibernate"; - }; }; - systemd.sleep.extraConfig = '' - HibernateDelaySec=3600 - ''; - # This value determines the NixOS release from which the default # settings for stateful data, like file locations and database versions # on your system were taken. It‘s perfectly fine and recommended to leave diff --git a/users/daniel/configs/system/kitty/default.nix b/users/daniel/configs/system/kitty/default.nix index d4a6bdc..050b834 100644 --- a/users/daniel/configs/system/kitty/default.nix +++ b/users/daniel/configs/system/kitty/default.nix @@ -6,7 +6,10 @@ name = "Iosevka Nerd Font Complete"; }; settings = { + "scrollback_lines" = 50000; + "cursor_shape" = "underline"; + "cursor_blink_interval" = 0; "bold_font" = "Iosevka Bold Nerd Font Complete";