summary refs log tree commit diff stats
path: root/hosts/thinklappi
diff options
context:
space:
mode:
authorsils <sils@sils.li>2023-03-18 10:12:58 +0100
committersils <sils@sils.li>2023-03-18 10:18:37 +0100
commit495c661f5081c023c242e96cf99259181408e99a (patch)
tree1a1c105e4046de38ef4f812345eee33f3eb3f6e0 /hosts/thinklappi
parentPackages: Add zip-utils (diff)
downloadnix-config-495c661f5081c023c242e96cf99259181408e99a.tar.gz
nix-config-495c661f5081c023c242e96cf99259181408e99a.zip
Feat: Restructure and add nameservers.
Diffstat (limited to '')
-rw-r--r--hosts/thinklappi/basesystem.nix (renamed from hardware/basesystem.nix)0
-rw-r--r--hosts/thinklappi/default.nix3
-rw-r--r--hosts/thinklappi/thinklappi.nix (renamed from sysconf/thinklappi.nix)22
3 files changed, 16 insertions, 9 deletions
diff --git a/hardware/basesystem.nix b/hosts/thinklappi/basesystem.nix
index e5bc5ba..e5bc5ba 100644
--- a/hardware/basesystem.nix
+++ b/hosts/thinklappi/basesystem.nix
diff --git a/hosts/thinklappi/default.nix b/hosts/thinklappi/default.nix
new file mode 100644
index 0000000..5019f10
--- /dev/null
+++ b/hosts/thinklappi/default.nix
@@ -0,0 +1,3 @@
+{...}: {
+  thinklappi = import ./thinklappi.nix;
+}
diff --git a/sysconf/thinklappi.nix b/hosts/thinklappi/thinklappi.nix
index b6b175c..5a3f0f6 100644
--- a/sysconf/thinklappi.nix
+++ b/hosts/thinklappi/thinklappi.nix
@@ -8,16 +8,16 @@
   '';
 in {
   imports = [
-    ../hardware/basesystem.nix
-    ../env.nix
-    ../nix.nix
-    ../packages.nix
-    ../users.nix
-    ../zsh.nix
-    ../flatpak.nix # Mainly for minecraft
+    ./basesystem.nix
+    ../../env.nix
+    ../../nix.nix
+    ../../packages.nix
+    ../../users.nix
+    ../../zsh.nix
+    ../../flatpak.nix # Mainly for minecraft
 
     # Desktop Environment to use
-    ../desktop/gnome.nix
+    ../../desktop/gnome.nix
   ];
 
   services = {
@@ -49,7 +49,11 @@ in {
 
   networking = {
     hostName = "thinklappi";
-    networkmanager.enable = true;
+    nameservers = ["2620:fe::fe" "2620:fe::9" "9.9.9.9" "149.112.112.112"];
+    networkmanager = {
+      enable = true;
+      dns = "none";
+    };
   };
 
   time.timeZone = "Europe/Berlin";