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 = [
|
imports = [
|
||||||
../cachix.nix
|
../cachix.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
# vim -- added by srvos.nixosModules.server
|
# vim -- added by srvos.nixosModules.server
|
||||||
# git -- srvos.nixosModules.server
|
# git -- srvos.nixosModules.server
|
||||||
|
@ -43,8 +44,13 @@
|
||||||
|
|
||||||
virtualisation.docker.enable = true;
|
virtualisation.docker.enable = true;
|
||||||
|
|
||||||
# Runner communication port for cache restores.
|
networking = {
|
||||||
networking.firewall.allowedTCPPorts = [ 45315 ];
|
# Runner communication port for cache restores.
|
||||||
|
firewall.allowedTCPPorts = [ 45315 ];
|
||||||
|
|
||||||
|
networkmanager.enable = true;
|
||||||
|
useDHCP = true;
|
||||||
|
};
|
||||||
|
|
||||||
system.stateVersion = "24.05";
|
system.stateVersion = "24.05";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue