add missing network configuration and switch to networkmanager

This commit is contained in:
Joseph Hanson 2024-09-08 11:44:45 -05:00
parent 0372bb3e93
commit 5da6d1e71f
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o

View file

@ -1,8 +1,9 @@
{ pkgs, config, ... }:
{ pkgs, ... }:
{
imports = [
../cachix.nix
];
environment.systemPackages = with pkgs; [
# vim -- added by srvos.nixosModules.server
# git -- srvos.nixosModules.server
@ -43,8 +44,13 @@
virtualisation.docker.enable = true;
# Runner communication port for cache restores.
networking.firewall.allowedTCPPorts = [ 45315 ];
networking = {
# Runner communication port for cache restores.
firewall.allowedTCPPorts = [ 45315 ];
networkmanager.enable = true;
useDHCP = true;
};
system.stateVersion = "24.05";
}