From 5515e4f5a521b4ebe704278bec3273c8bd639d72 Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Sun, 17 Sep 2023 15:57:39 +0200 Subject: update config, use NetworkManager --- common.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'common.nix') diff --git a/common.nix b/common.nix index 50c3a90..5b822e2 100644 --- a/common.nix +++ b/common.nix @@ -58,13 +58,16 @@ in # ensure we scrub the btrfs sometimes services.btrfs.autoScrub = { enable = true; - fileSystems = [ "/data" ]; interval = "weekly"; }; # allow all firmware hardware.enableAllFirmware = true; + # use NetworkManager + networking.useDHCP = false; + networking.networkmanager.enable = true; + # ensure firewall is up, allow ssh and http in networking.firewall.enable = true; networking.firewall.allowedTCPPorts = [ 22 ]; -- cgit v1.2.3