mirror of
https://github.com/tuxdotrs/nixos-config.git
synced 2025-07-06 17:56:35 +05:30
feat: add systemd module for cyber tux
This commit is contained in:
@ -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 = {
|
||||
|
Reference in New Issue
Block a user