summaryrefslogtreecommitdiff
path: root/surl-tesh-echer/configuration.nix
diff options
context:
space:
mode:
authorstuebinm2022-08-02 15:43:38 +0200
committerstuebinm2022-08-02 15:43:54 +0200
commit0267a582537aa1bcafb4421033d5214811dce2ee (patch)
tree0b18f38f2278ea56395f4d073be2b1618b97d576 /surl-tesh-echer/configuration.nix
parent88db2ddd23bdaffd982c7d0c685dce5d57f709b2 (diff)
surl tesh / echer: network manager
Diffstat (limited to '')
-rw-r--r--surl-tesh-echer/configuration.nix14
1 files changed, 9 insertions, 5 deletions
diff --git a/surl-tesh-echer/configuration.nix b/surl-tesh-echer/configuration.nix
index 89f2bdf..426e493 100644
--- a/surl-tesh-echer/configuration.nix
+++ b/surl-tesh-echer/configuration.nix
@@ -17,11 +17,15 @@
# Set your time zone.
time.timeZone = "Europe/Amsterdam";
- networking.useDHCP = false;
- networking.interfaces.enp0s25.useDHCP = true;
- networking.interfaces.wlp3s0.useDHCP = true;
- networking.interfaces.wwp0s20u4i6.useDHCP = true;
-
+ networking = {
+ networkmanager.enable = true;
+ useDHCP = false;
+ interfaces = {
+ enp0s25.useDHCP = true;
+ wlp3s0.useDHCP = true;
+ wwp0s20u4i6.useDHCP = true;
+ };
+ };
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions