mirror of
https://github.com/tuxdotrs/nix-config.git
synced 2026-06-17 10:16:31 +05:30
feat: add cyber-tux module
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user