This commit is contained in:
2022-04-28 18:57:53 +01:00
parent 64fd1667a2
commit d5331210ed
4 changed files with 13 additions and 15 deletions

View File

@@ -8,7 +8,6 @@
services.caddy = { services.caddy = {
enable = true; enable = true;
virtualHosts = { virtualHosts = {
"http://metrics.town" = { "http://metrics.town" = {
extraConfig = '' extraConfig = ''
reverse_proxy http://localhost:3000 reverse_proxy http://localhost:3000

View File

@@ -29,7 +29,7 @@
firewall.interfaces = { firewall.interfaces = {
"tailscale0" = { "tailscale0" = {
allowedUDPPorts = [ 41641 ]; allowedUDPPorts = [41641];
}; };
}; };
}; };

View File

@@ -13,13 +13,10 @@
../common/graphical ../common/graphical
]; ];
powerManagement = {
enable = true;
powertop.enable = true;
};
boot.resumeDevice = "/dev/disk/by-label/swap"; boot.resumeDevice = "/dev/disk/by-label/swap";
boot.kernelParams = ["nvme.noacpi=1"];
hardware.acpilight.enable = true; hardware.acpilight.enable = true;
networking = { networking = {
@@ -30,6 +27,13 @@
services = { services = {
fprintd.enable = true; fprintd.enable = true;
tlp = {
enable = true;
settings = {
PCIE_ASPM_ON_BAT = "powersupersave";
};
};
xserver = { xserver = {
dpi = 144; dpi = 144;
@@ -39,15 +43,7 @@
tapping = true; tapping = true;
}; };
}; };
logind = {
lidSwitch = "suspend-then-hibernate";
}; };
};
systemd.sleep.extraConfig = ''
HibernateDelaySec=3600
'';
# This value determines the NixOS release from which the default # This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions # settings for stateful data, like file locations and database versions

View File

@@ -6,7 +6,10 @@
name = "Iosevka Nerd Font Complete"; name = "Iosevka Nerd Font Complete";
}; };
settings = { settings = {
"scrollback_lines" = 50000;
"cursor_shape" = "underline"; "cursor_shape" = "underline";
"cursor_blink_interval" = 0;
"bold_font" = "Iosevka Bold Nerd Font Complete"; "bold_font" = "Iosevka Bold Nerd Font Complete";