feat: add cyber-tux module

This commit is contained in:
tux
2026-05-09 04:54:32 +05:30
parent 96841dbfa8
commit a9d91df8ce
5 changed files with 141 additions and 1 deletions

View File

@@ -6,13 +6,14 @@
hostName,
userName,
...
}:
}@innerArgs:
{
imports = with config.flake.modules.nixos; [
boot
hardware
networking
virtualisation
services
];
tnix = {
@@ -20,6 +21,13 @@
boot.impermanence.enable = true;
networking.openssh.enable = true;
services = {
cyber-tux = {
enable = true;
environmentFile = innerArgs.config.sops.secrets.discord-token.path;
};
};
virtualisation = {
docker.enable = true;
};