feat: add systemd module for cyber tux

This commit is contained in:
tux
2025-02-15 18:44:41 +05:30
parent becabf7591
commit 0cd6576cdf
4 changed files with 134 additions and 0 deletions

View File

@ -3,6 +3,7 @@
username,
pkgs,
lib,
config,
...
}: {
imports = [
@ -15,8 +16,20 @@
../../modules/nixos/desktop
../../modules/nixos/virtualisation/docker.nix
../../modules/nixos/open-webui.nix
../../modules/nixos/cyber-tux.nix
];
sops.secrets = {
discord_token = {
sopsFile = ./secrets.yaml;
};
};
tux.services.cyber-tux = {
enable = true;
environmentFile = config.sops.secrets.discord_token.path;
};
networking = {
hostName = "homelab";
networkmanager = {