feat: create syncthing and pipewire services
This commit is contained in:
parent
065b1bac9d
commit
899c1b4a26
5 changed files with 46 additions and 6 deletions
|
@ -1,6 +1,17 @@
|
|||
{pkgs, lib, ...}:
|
||||
{
|
||||
enable = true;
|
||||
user = "${config.myUserName}";
|
||||
|
||||
pkgs,
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
services = {
|
||||
syncthing = {
|
||||
enable = true;
|
||||
user = "${config.myUserName}";
|
||||
dataDir = "/home/${config.myUserName}/Documents";
|
||||
configDir = "/home/${config.myUserName}/Documents/.config/syncthing";
|
||||
};
|
||||
};
|
||||
networking.firewall.allowedTCPPorts = [8384 22000];
|
||||
networking.firewall.allowedUDPPorts = [22000 21027];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue