more hardware and network settings

This commit is contained in:
2026-03-03 00:47:23 +01:00
parent c296dd3415
commit 0634385f81
2 changed files with 8 additions and 0 deletions

View File

@@ -4,5 +4,6 @@
boot.kernelParams = [ "quiet" "splash" "boot.shell_on_fail" "loglevel=3" "rd.systemd.show_status=false" "rd.udev.log_level=3" "udev.log_priority=3" ]; boot.kernelParams = [ "quiet" "splash" "boot.shell_on_fail" "loglevel=3" "rd.systemd.show_status=false" "rd.udev.log_level=3" "udev.log_priority=3" ];
nixpkgs.hostPlatform = "x86_64-linux"; nixpkgs.hostPlatform = "x86_64-linux";
hardware.cpu.amd.updateMicrocode = true; hardware.cpu.amd.updateMicrocode = true;
networking.hostName = computer-mo;
}; };
} }

7
networking.nix Normal file
View File

@@ -0,0 +1,7 @@
{ ... }: {
flake.nixosModules.network = {lib, hostName, ... }:{
networking.firewall.enable = true;
networking.useDHCP = true;
networking.networkmanager.enable = true;
};
}