feat: Added services to home
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
./minecraft.nix
|
||||
./tailscale.nix
|
||||
./vscode.nix
|
||||
# ./syncthing.nix
|
||||
# ./seafile.nix
|
||||
|
||||
# ./nextcloud.nix
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{...}: {
|
||||
services = {
|
||||
jellyfin = {
|
||||
enable = true;
|
||||
enable = false;
|
||||
openFirewall = true;
|
||||
};
|
||||
caddy = {
|
||||
|
||||
15
nixos/mirai/services/syncthing.nix
Normal file
15
nixos/mirai/services/syncthing.nix
Normal 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;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user