This commit is contained in:
Daniel Flanagan 2024-07-24 13:10:49 -05:00
parent 1b755432cc
commit 58afc27d85

View file

@ -115,7 +115,7 @@ sudo nix run nixpkgs#ipmitool -- raw 0x30 0x30 0x02 0xff 0x00
"forgejo-runner.env" = {mode = "0400";}; "forgejo-runner.env" = {mode = "0400";};
}; };
}; };
systemd.services.gitea-runner-beefcake.serviceConfig.after = ["sops-nix.service"]; systemd.services.gitea-runner-beefcake.after = ["sops-nix.service"];
} }
{ {
# nix binary cache # nix binary cache
@ -753,6 +753,8 @@ sudo nix run nixpkgs#ipmitool -- raw 0x30 0x30 0x02 0xff 0x00
url = "https://git.lyte.dev"; url = "https://git.lyte.dev";
settings = { settings = {
container = { container = {
# use the shared network which is bridged by default
# this lets us hit git.lyte.dev just fine
network = "podman"; network = "podman";
}; };
}; };
@ -1014,11 +1016,9 @@ sudo nix run nixpkgs#ipmitool -- raw 0x30 0x30 0x02 0xff 0x00
virtualisation.oci-containers.backend = "podman"; virtualisation.oci-containers.backend = "podman";
virtualisation.podman = { virtualisation.podman = {
# autoPrune.enable = true; # autoPrune.enable = true;
defaultNetwork.settings = { # defaultNetwork.settings = {
# this lets any podman container access host services # driver = "host";
# primarily did this so runner actions running podman containers can hit git.lyte.dev # };
driver = "host";
};
}; };
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
linuxquota linuxquota