Compare commits
6 Commits
09bf9a3b17
...
1829280f14
Author | SHA1 | Date | |
---|---|---|---|
1829280f14 | |||
6c3b0aa239 | |||
17da0a855c | |||
c75a967110 | |||
350bcfed05 | |||
378ff6c9fd |
@ -21,6 +21,7 @@
|
|||||||
dnsmasq
|
dnsmasq
|
||||||
dnsutils
|
dnsutils
|
||||||
dtach
|
dtach
|
||||||
|
ethtool
|
||||||
f2fs-tools
|
f2fs-tools
|
||||||
fd
|
fd
|
||||||
file
|
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";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
@ -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];
|
||||||
|
Loading…
Reference in New Issue
Block a user