mirror of
https://github.com/Moe1369/nix-fleet.git
synced 2026-04-24 15:59:06 +02:00
more hardware and network settings
This commit is contained in:
@@ -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" ];
|
||||
nixpkgs.hostPlatform = "x86_64-linux";
|
||||
hardware.cpu.amd.updateMicrocode = true;
|
||||
networking.hostName = computer-mo;
|
||||
};
|
||||
}
|
||||
|
||||
7
networking.nix
Normal file
7
networking.nix
Normal file
@@ -0,0 +1,7 @@
|
||||
{ ... }: {
|
||||
flake.nixosModules.network = {lib, hostName, ... }:{
|
||||
networking.firewall.enable = true;
|
||||
networking.useDHCP = true;
|
||||
networking.networkmanager.enable = true;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user