networking: Set up static IP address
This commit is contained in:
parent
317cdf0039
commit
acd7cc802b
3 changed files with 47 additions and 2 deletions
configuration
|
@ -15,9 +15,11 @@
|
|||
(import ../modules)
|
||||
|
||||
./services/conduit.nix
|
||||
./services/foundryvtt.nix
|
||||
./services/gitea.nix
|
||||
./services/nextcloud.nix
|
||||
./services/webserver.nix
|
||||
./services/wireguard.nix
|
||||
./services/starbound.nix
|
||||
./services/postgres.nix
|
||||
./sops.nix
|
||||
|
@ -51,10 +53,8 @@
|
|||
|
||||
networking = {
|
||||
hostName = "tlaternet";
|
||||
|
||||
usePredictableInterfaceNames = false;
|
||||
useDHCP = false;
|
||||
interfaces.eth0.useDHCP = true;
|
||||
|
||||
firewall = {
|
||||
allowedTCPPorts = [
|
||||
|
@ -95,6 +95,8 @@
|
|||
};
|
||||
};
|
||||
|
||||
systemd.network.enable = true;
|
||||
|
||||
time.timeZone = "Europe/London";
|
||||
|
||||
users.users.tlater = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue