feat: Added services to home

This commit is contained in:
uttarayan21
2025-02-07 22:43:18 +05:30
parent f355fa88c4
commit 66e2019d7e
7 changed files with 39 additions and 1 deletions

View File

@@ -7,6 +7,7 @@
./minecraft.nix
./tailscale.nix
./vscode.nix
# ./syncthing.nix
# ./seafile.nix
# ./nextcloud.nix

View File

@@ -1,7 +1,7 @@
{...}: {
services = {
jellyfin = {
enable = true;
enable = false;
openFirewall = true;
};
caddy = {

View File

@@ -0,0 +1,15 @@
{
pkgs,
device,
xdg,
...
}: {
services.syncthing = {
enable = true;
openDefaultPorts = true;
user = "${device.user}";
group = "${device.user}";
dataDir = xdg.dataDirs.syncthing;
configDir = xdg.configDirs.syncthing;
};
}