40 lines
1.0 KiB
Nix
40 lines
1.0 KiB
Nix
{ pkgs, ... }: {
|
|
boot = {
|
|
kernel.sysctl = {
|
|
"kernel.sysrq" = 1;
|
|
"kernel.hung_task_timeout_secs" = 120;
|
|
"kernel.hung_task_panic" = 0;
|
|
"net.ipv4.ip_forward" = true;
|
|
};
|
|
kernelParams = ["nvme_core.default_ps_max_latency_us=0"];
|
|
loader.systemd-boot.enable = true;
|
|
loader.efi.canTouchEfiVariables = true;
|
|
};
|
|
|
|
environment.systemPackages = with pkgs; [ git pciutils openvpn vim wget ];
|
|
|
|
programs = {
|
|
ssh.knownHosts = {
|
|
selbeiskami = {
|
|
hostNames = [ "192.168.0.57" ];
|
|
publicKey = "192.168.0.57 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBiTyWzAu7V2Jkk4rqEjBLu+lAhhkLTO8W/PGb8HkeqQ";
|
|
};
|
|
matricx = {
|
|
hostNames = [ "192.168.0.130" "matri.cx" ];
|
|
publicKey = "matri.cx ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMyaPYK0HcKAjrD1g+FPqPEU9FJ0I6+iKYmQlWKE0zHp";
|
|
};
|
|
};
|
|
zsh.enable = true;
|
|
};
|
|
|
|
services = {
|
|
journald.extraConfig = ''
|
|
Storage=persistent
|
|
SystemMaxUse=2G
|
|
RuntimeMaxUse=512M
|
|
'';
|
|
};
|
|
|
|
time.timeZone = "America/Chicago";
|
|
}
|