mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 23:00:14 +01:00
feat: add static ip for 40gbit nic
This commit is contained in:
parent
29521f8994
commit
ac6f4b4fcd
1 changed files with 18 additions and 5 deletions
|
|
@ -20,6 +20,24 @@
|
|||
cpuFreqGovernor = lib.mkDefault "performance";
|
||||
};
|
||||
|
||||
networking = {
|
||||
hostName = "yoshino";
|
||||
networkmanager.enable = true;
|
||||
};
|
||||
|
||||
systemd.network.networks."99-local" = {
|
||||
matchConfig.name = "enp68s0";
|
||||
address = [
|
||||
"192.168.1.100/24"
|
||||
];
|
||||
routes = [
|
||||
{
|
||||
Gateway = "172.16.10.1";
|
||||
GatewayOnLink = false;
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
liv = {
|
||||
desktop.enable = true;
|
||||
creative.enable = true;
|
||||
|
|
@ -28,11 +46,6 @@
|
|||
gui.enable = true;
|
||||
};
|
||||
|
||||
networking = {
|
||||
hostName = "yoshino";
|
||||
networkmanager.enable = true;
|
||||
};
|
||||
|
||||
boot = {
|
||||
kernelParams = [ ];
|
||||
kernelModules = [ "acpi_call" ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue