change boot optimization to laptop, can't use a static ip with systemd-networkd
This commit is contained in:
@ -6,7 +6,7 @@
|
|||||||
# By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
|
# By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
|
||||||
# +#+#+#+#+#+ +#+ #
|
# +#+#+#+#+#+ +#+ #
|
||||||
# Created: 2025/02/09 01:43:46 by tomoron #+# #+# #
|
# Created: 2025/02/09 01:43:46 by tomoron #+# #+# #
|
||||||
# Updated: 2025/03/12 16:20:09 by tomoron ### ########.fr #
|
# Updated: 2025/03/12 16:49:41 by tomoron ### ########.fr #
|
||||||
# #
|
# #
|
||||||
# **************************************************************************** #
|
# **************************************************************************** #
|
||||||
|
|
||||||
@ -33,9 +33,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
networking.networkmanager.enable = lib.mkDefault true;
|
networking.networkmanager.enable = lib.mkDefault true;
|
||||||
networking.dhcpcd.enable = false;
|
|
||||||
systemd.network.enable = true;
|
|
||||||
networking.useNetworkd = true;
|
|
||||||
|
|
||||||
time.timeZone = "Europe/Paris";
|
time.timeZone = "Europe/Paris";
|
||||||
|
|
||||||
|
@ -9,6 +9,10 @@
|
|||||||
networking.wireless.enable = true;
|
networking.wireless.enable = true;
|
||||||
networking.networkmanager.enable = false;
|
networking.networkmanager.enable = false;
|
||||||
|
|
||||||
|
networking.dhcpcd.enable = false;
|
||||||
|
systemd.network.enable = true;
|
||||||
|
networking.useNetworkd = true;
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
acpi
|
acpi
|
||||||
tlp
|
tlp
|
||||||
|
@ -53,7 +53,8 @@
|
|||||||
address = "192.168.1.24";
|
address = "192.168.1.24";
|
||||||
prefixLength = 24;
|
prefixLength = 24;
|
||||||
} ];
|
} ];
|
||||||
defaultGateway = "192.168.1.254";
|
defaultGateway.address = "192.168.1.254";
|
||||||
|
defaultGateway.interface = "eth0";
|
||||||
nameservers = ["8.8.8.8" "8.8.4.4" "1.1.1.1"];
|
nameservers = ["8.8.8.8" "8.8.4.4" "1.1.1.1"];
|
||||||
hostId = "68290da7";
|
hostId = "68290da7";
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user