nixcfg/systems/x86_64-linux/sgx/default.nix
Harald Hoyer 4c641910fd chore(nix): add Wyoming service configuration
- Introduced a new `wyoming.nix` file with service definitions for `faster-whisper` and `piper`.
- Enabled TCP ports `10200` and `10300` in the firewall for service communication.
- Updated SGX configuration to include `wyoming.nix` in system imports.
2025-11-27 15:04:53 +01:00

70 lines
1.4 KiB
Nix

{ pkgs, ... }:
{
imports = [
./hardware-configuration.nix
./fileserver.nix
./backup.nix
./network.nix
./openwebui.nix
./acme.nix
./nginx.nix
./mail.nix
./wyoming.nix
];
services.tailscale.enable = true;
boot.tmp.useTmpfs = false;
sops.secrets.pccs.sopsFile = ../../../.secrets/sgx/pccs.yaml;
sops.secrets.backup-pw.sopsFile = ../../../.secrets/sgx/backup-s3.yaml;
environment.systemPackages = with pkgs; [
claude-code
];
metacfg = {
emailOnFailure.enable = true;
base.enable = true;
gui.enable = true;
nix-ld.enable = true;
nix.enable = true;
podman.enable = true;
secureboot.enable = true;
user.extraGroups = [
"docker"
"libvirtd"
];
tools = {
direnv.enable = true;
};
};
virtualisation = {
docker.enable = false;
libvirtd.enable = true;
podman.dockerCompat = true;
};
#systemd.services.libvirt-guests.after = [ "network-online.target" ];
services.cratedocs-mcp = {
enable = true;
openFirewall = true;
};
system.autoUpgrade = {
enable = true;
operation = "switch";
allowReboot = true;
};
systemd.targets.sleep.enable = false;
systemd.targets.suspend.enable = false;
systemd.targets.hibernate.enable = false;
systemd.targets.hybrid-sleep.enable = false;
services.xserver.displayManager.gdm.autoSuspend = false;
services.logind.lidSwitch = "ignore";
system.stateVersion = "23.11";
}