Compare commits
2 commits
0372bb3e93
...
e7fcffc7a6
Author | SHA1 | Date | |
---|---|---|---|
e7fcffc7a6 | |||
5da6d1e71f |
2 changed files with 9 additions and 6 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;
|
||||||
|
|
||||||
|
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";
|
||||||
}
|
}
|
||||||
|
|
|
@ -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;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue