add missing network configuration and switch to networkmanager
This commit is contained in:
parent
0372bb3e93
commit
5da6d1e71f
1 changed files with 9 additions and 3 deletions
|
@ -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";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue