This commit is contained in:
parent
f7cc6dab30
commit
1943a3c679
4 changed files with 23 additions and 6 deletions
|
|
@ -23,7 +23,10 @@
|
|||
];
|
||||
};
|
||||
};
|
||||
virtualisation.podman.enable = true;
|
||||
virtualisation.docker = {
|
||||
enable = true;
|
||||
extraOptions = "--dns 1.1.1.1";
|
||||
};
|
||||
services.gitea-actions-runner = {
|
||||
package = pkgs.forgejo-runner;
|
||||
instances.default = {
|
||||
|
|
@ -34,6 +37,7 @@
|
|||
labels = [
|
||||
"ubuntu-latest:docker://node:24-bullseye"
|
||||
"nix-upstream-latest:docker://nixos/nix:latest"
|
||||
"nix-latest:docker://git.10110110.xyz/ci/nix"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
@ -46,8 +50,15 @@
|
|||
tokenFile = config.sops.secrets."password".path;
|
||||
serverAddr = "https://consensus:6443";
|
||||
};
|
||||
services.logind.lidSwitch = "ignore";
|
||||
services.logind.lidSwitchExternalPower = "ignore";
|
||||
systemd.services.k3s = {
|
||||
preStart = ''
|
||||
until ${pkgs.tailscale}/bin/tailscale status; do
|
||||
sleep 1
|
||||
done
|
||||
'';
|
||||
};
|
||||
services.logind.settings.Login.HandleLidSwitch = "ignore";
|
||||
services.logind.settings.Login.HandleLidSwitchExternalPower = "ignore";
|
||||
hardware.enableRedistributableFirmware = true;
|
||||
hardware.firmware = [ pkgs.linux-firmware ];
|
||||
system.stateVersion = "23.11";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue