simpler networking, no polkit, no login

This commit is contained in:
Christoph Cullmann 2023-02-06 21:36:41 +01:00
parent cd84573e66
commit 0ebc1b4733

View file

@ -90,10 +90,6 @@ in
# allow all firmware # allow all firmware
hardware.enableAllFirmware = true; hardware.enableAllFirmware = true;
# use systemd-networkd
networking.useDHCP = false;
networking.useNetworkd = true;
# ensure firewall is up, allow ssh and http in # ensure firewall is up, allow ssh and http in
networking.firewall.enable = true; networking.firewall.enable = true;
networking.firewall.allowedTCPPorts = [ 22 80 ]; networking.firewall.allowedTCPPorts = [ 22 80 ];
@ -357,9 +353,6 @@ in
# no need for disk stuff at home # no need for disk stuff at home
services.udisks2.enable = pkgs.lib.mkForce false; services.udisks2.enable = pkgs.lib.mkForce false;
# no polkit needed either
security.polkit.enable = pkgs.lib.mkForce false;
### ###
### per user configuration below ### per user configuration below
### ###