about summary refs log tree commit diff stats
path: root/hosts/mammun_on_vm/networking.nix
diff options
context:
space:
mode:
authorene <ene@sils.li>2023-02-26 12:22:58 +0100
committerene <ene@sils.li>2023-02-26 12:24:36 +0100
commite22f4574f69b83c34940817c3bf0ce89ec2e7d5b (patch)
tree93ae6580205ec801a87f40baea7b86edd978e559 /hosts/mammun_on_vm/networking.nix
parentFix(hosts/mammun): Use amdgpu driver (diff)
downloadnixos-config-e22f4574f69b83c34940817c3bf0ce89ec2e7d5b.zip
Feat(hosts): Added mammun for the vm config
Diffstat (limited to '')
-rw-r--r--hosts/mammun_on_vm/networking.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/hosts/mammun_on_vm/networking.nix b/hosts/mammun_on_vm/networking.nix
new file mode 100644
index 00000000..e243ebe0
--- /dev/null
+++ b/hosts/mammun_on_vm/networking.nix
@@ -0,0 +1,16 @@
+{
+  config,
+  lib,
+  ...
+}: {
+  networking = {
+    networkmanager = {
+      enable = true;
+      dns = "default";
+      wifi = {
+        powersave = true;
+      };
+    };
+    hostName = "mammun";
+  };
+}