Compare commits

...

2 commits

2 changed files with 9 additions and 6 deletions

View file

@ -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;
networking = {
# Runner communication port for cache restores. # Runner communication port for cache restores.
networking.firewall.allowedTCPPorts = [ 45315 ]; firewall.allowedTCPPorts = [ 45315 ];
networkmanager.enable = true;
useDHCP = true;
};
system.stateVersion = "24.05"; system.stateVersion = "24.05";
} }

View file

@ -9,8 +9,5 @@
boot.loader.grub.device = "/dev/sda"; boot.loader.grub.device = "/dev/sda";
fileSystems."/" = lib.mkDefault { device = "/dev/disk/by-partlabel/disk-main-root"; fsType = "ext4"; }; fileSystems."/" = lib.mkDefault { device = "/dev/disk/by-partlabel/disk-main-root"; fsType = "ext4"; };
networking.useNetworkd = true;
networking.useDHCP = true;
}; };
} }