Compare commits
6 Commits
09bf9a3b17
...
1829280f14
Author | SHA1 | Date | |
---|---|---|---|
1829280f14 | |||
6c3b0aa239 | |||
17da0a855c | |||
c75a967110 | |||
350bcfed05 | |||
378ff6c9fd |
@ -21,6 +21,7 @@
|
||||
dnsmasq
|
||||
dnsutils
|
||||
dtach
|
||||
ethtool
|
||||
f2fs-tools
|
||||
fd
|
||||
file
|
||||
|
@ -35,7 +35,7 @@
|
||||
};
|
||||
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager";
|
||||
url = "github:nix-community/home-manager/release-24.11";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
|
@ -21,7 +21,7 @@
|
||||
boot.loader.systemd-boot.configurationLimit = 2;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
boot.kernelParams = ["ip=dhcp"];
|
||||
boot.kernelParams = ["ip=dhcp" "console=tty"];
|
||||
boot.kernel.sysctl = {
|
||||
"net.core.default_qdisc" = "fq";
|
||||
"net.ipv4.tcp_congestion_control" = "bbr";
|
||||
@ -29,7 +29,7 @@
|
||||
|
||||
boot.initrd = {
|
||||
compressor = "zstd";
|
||||
availableKernelModules = ["virtio-pci"];
|
||||
availableKernelModules = ["virtio-pci" "virtio-gpu"];
|
||||
systemd.enable = true;
|
||||
network = {
|
||||
enable = true;
|
||||
|
@ -71,7 +71,6 @@
|
||||
initrd.kernelModules = [];
|
||||
initrd.systemd.enable = true;
|
||||
binfmt.emulatedSystems = ["wasm32-wasi" "x86_64-windows"];
|
||||
kernelPackages = pkgs.linuxPackages_latest;
|
||||
kernelParams = ["psmouse.synaptics_intertouch=0" "mem_sleep_default=deep"];
|
||||
kernel.sysctl = {
|
||||
"net.core.default_qdisc" = "fq";
|
||||
@ -107,6 +106,7 @@
|
||||
};
|
||||
|
||||
networking = {
|
||||
nftables.enable = true;
|
||||
firewall = {
|
||||
enable = true;
|
||||
allowedTCPPorts = [80 443 51820 8020];
|
||||
|
Loading…
Reference in New Issue
Block a user