Update server configuration

This commit is contained in:
thiloho
2023-07-23 04:24:55 +02:00
parent bd8a00f9ca
commit 121f2460af
3 changed files with 14 additions and 3 deletions

View File

@@ -6,7 +6,19 @@
../shared.nix
];
networking.hostName = "server";
networking = {
hostName = "server";
interfaces = {
enp41s0.ipv6.addresses = [{
address = "2a01:4f8:a0:8246::1";
prefixLength = 64;
}];
};
defaultGateway6 = {
address = "fe80::1";
interface = "enp41s0";
};
};
home-manager.users.thiloho = { pkgs, lib, ... }: {
home.stateVersion = "23.05";