summaryrefslogtreecommitdiff
path: root/hosts/glados/network.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/glados/network.nix')
-rw-r--r--hosts/glados/network.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/hosts/glados/network.nix b/hosts/glados/network.nix
new file mode 100644
index 0000000..b80f0ae
--- /dev/null
+++ b/hosts/glados/network.nix
@@ -0,0 +1,9 @@
+{config, ...}: {
+ networking = {
+ hostId = "$(head -c 8 /etc/machine-id)";
+ networkmanager = {
+ enable = true;
+ dns = "systemd-resolved";
+ };
+ };
+}