Services: add tailscale, kuma, vw and forgejo to Theia

This commit is contained in:
blahai 2025-01-26 23:22:46 +02:00
parent dcd2d8adab
commit 057582d665
No known key found for this signature in database
10 changed files with 168 additions and 5 deletions

View file

@ -1,10 +1,11 @@
{
lib,
pkgs,
config,
modulesPath,
...
}: let
inherit (lib.modules) mkForce;
inherit (lib.modules) mkForce mkIf;
in {
imports = [(modulesPath + "/profiles/qemu-guest.nix")];
@ -12,6 +13,18 @@ in {
services = {
smartd.enable = mkForce false; # Unavailable - device lacks SMART capability.
qemuGuest.enable = true;
networkd-dispatcher = mkIf config.olympus.system.networking.tailscale.enable {
enable = true;
rules."50-tailscale" = {
onState = ["routable"];
script = ''
${
lib.getExe pkgs.ethtool
} -K ens3 rx-udp-gro-forwarding on rx-gro-list off
'';
};
};
};
systemd.services.qemu-guest-agent.path = [pkgs.shadow];