updating network to networkd

This commit is contained in:
revol-xut 2022-12-09 16:18:57 +01:00
parent 1d638148c0
commit ec704eb11d
No known key found for this signature in database
GPG key ID: 4F56FF7759627D07
3 changed files with 85 additions and 17 deletions

View file

@ -4,6 +4,7 @@
imports =
[
./hardware-configuration.nix
./network.nix
];
# Use the systemd-boot EFI boot loader.
@ -12,20 +13,6 @@
boot.loader.efi.canTouchEfiVariables = true;
boot.supportedFilesystems = [ "zfs" ];
boot.zfs.devNodes = "/dev/";
networking.hostId = "a41d87fc";
networking.interfaces.enp65s0f0np0 = {
useDHCP = false;
ipv4.addresses = [
{
address = "141.30.30.169";
prefixLength = 25;
}
];
};
networking.defaultGateway = "141.30.30.129";
networking.nameservers = [ "141.30.1.1" ];
networking.hostName = "quitte"; # Define your hostname.