Chonky
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
|
|
||||||
firewall.interfaces = {
|
firewall.interfaces = {
|
||||||
"tailscale0" = {
|
"tailscale0" = {
|
||||||
allowedUDPPorts = [ 41641 ];
|
allowedUDPPorts = [41641];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -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,16 +43,8 @@
|
|||||||
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
|
||||||
# on your system were taken. It‘s perfectly fine and recommended to leave
|
# on your system were taken. It‘s perfectly fine and recommended to leave
|
||||||
|
|||||||
@@ -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";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user