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 = {
enable = true;
virtualHosts = {
"http://metrics.town" = {
extraConfig = ''
reverse_proxy http://localhost:3000

View File

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

View File

@@ -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,15 +43,7 @@
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

View File

@@ -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";