From 9eb4bc1e5e970d9fd8053469f48d6a7be90c4fd2 Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Sun, 19 Mar 2023 15:17:16 +0100 Subject: [PATCH] thinkman: hotfix serverle dns-settings --- machines/thinkman/configuration.nix | 4 ++-- machines/thinkman/network.nix | 10 ++++++++++ 2 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 machines/thinkman/network.nix diff --git a/machines/thinkman/configuration.nix b/machines/thinkman/configuration.nix index 0b6b2a5..a710922 100644 --- a/machines/thinkman/configuration.nix +++ b/machines/thinkman/configuration.nix @@ -4,8 +4,9 @@ ./boot.nix ./disks.nix ./hardware-configuration.nix - ./services.nix + ./network.nix ./profiles.nix + ./services.nix ./system.nix ../../legacy/modules/desktop-default.nix ../../legacy/modules/desktop-development.nix @@ -28,7 +29,6 @@ # needed for cross-compilation boot.binfmt.emulatedSystems = [ "aarch64-linux" ]; - system = { stateVersion = "22.11"; autoUpgrade.enable = true; diff --git a/machines/thinkman/network.nix b/machines/thinkman/network.nix new file mode 100644 index 0000000..a35860f --- /dev/null +++ b/machines/thinkman/network.nix @@ -0,0 +1,10 @@ +# network settings +{ config, lib, ... }: +{ + # hotfixes for dns settings + networking.extraHosts = '' + 192.168.178.60 stunkymonkey.de + 192.168.178.60 movies.stunkymonkey.de + 192.168.178.60 series.stunkymonkey.de + ''; +}