Compare commits

..

6 Commits

4 changed files with 5 additions and 4 deletions

View File

@ -21,6 +21,7 @@
dnsmasq dnsmasq
dnsutils dnsutils
dtach dtach
ethtool
f2fs-tools f2fs-tools
fd fd
file file

View File

@ -35,7 +35,7 @@
}; };
home-manager = { home-manager = {
url = "github:nix-community/home-manager"; url = "github:nix-community/home-manager/release-24.11";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };

View File

@ -21,7 +21,7 @@
boot.loader.systemd-boot.configurationLimit = 2; boot.loader.systemd-boot.configurationLimit = 2;
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
boot.kernelPackages = pkgs.linuxPackages_latest; boot.kernelPackages = pkgs.linuxPackages_latest;
boot.kernelParams = ["ip=dhcp"]; boot.kernelParams = ["ip=dhcp" "console=tty"];
boot.kernel.sysctl = { boot.kernel.sysctl = {
"net.core.default_qdisc" = "fq"; "net.core.default_qdisc" = "fq";
"net.ipv4.tcp_congestion_control" = "bbr"; "net.ipv4.tcp_congestion_control" = "bbr";
@ -29,7 +29,7 @@
boot.initrd = { boot.initrd = {
compressor = "zstd"; compressor = "zstd";
availableKernelModules = ["virtio-pci"]; availableKernelModules = ["virtio-pci" "virtio-gpu"];
systemd.enable = true; systemd.enable = true;
network = { network = {
enable = true; enable = true;

View File

@ -71,7 +71,6 @@
initrd.kernelModules = []; initrd.kernelModules = [];
initrd.systemd.enable = true; initrd.systemd.enable = true;
binfmt.emulatedSystems = ["wasm32-wasi" "x86_64-windows"]; binfmt.emulatedSystems = ["wasm32-wasi" "x86_64-windows"];
kernelPackages = pkgs.linuxPackages_latest;
kernelParams = ["psmouse.synaptics_intertouch=0" "mem_sleep_default=deep"]; kernelParams = ["psmouse.synaptics_intertouch=0" "mem_sleep_default=deep"];
kernel.sysctl = { kernel.sysctl = {
"net.core.default_qdisc" = "fq"; "net.core.default_qdisc" = "fq";
@ -107,6 +106,7 @@
}; };
networking = { networking = {
nftables.enable = true;
firewall = { firewall = {
enable = true; enable = true;
allowedTCPPorts = [80 443 51820 8020]; allowedTCPPorts = [80 443 51820 8020];