Compare commits

...

6 Commits

Author SHA1 Message Date
1829280f14 magpie: add virtio-gpu as initrd module 2024-12-26 13:31:57 +01:00
6c3b0aa239 magpie: set console=tty as boot param 2024-12-26 13:31:10 +01:00
17da0a855c home-manager: switch to 24.11 version 2024-12-26 13:25:01 +01:00
c75a967110 nixy: use nftables 2024-12-26 13:24:20 +01:00
350bcfed05 nixy: switch to default nixos kernel 2024-12-26 13:24:03 +01:00
378ff6c9fd packages: add ethtool 2024-12-26 13:22:58 +01:00
4 changed files with 5 additions and 4 deletions

View File

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

View 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";
};

View File

@@ -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;

View File

@@ -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];