mirror of
https://github.com/srid/nixos-config.git
synced 2025-12-26 23:14:57 +08:00
Enable syncthing in p71
This commit is contained in:
parent
2a0ab3df15
commit
a42e2ef08e
3 changed files with 10 additions and 5 deletions
|
|
@ -15,6 +15,7 @@
|
|||
# System configuration
|
||||
configurationNix
|
||||
./modules/passwordstore.nix
|
||||
./modules/syncthing.nix
|
||||
./modules/protonmail-bridge.nix
|
||||
./modules/monitor-brightness.nix
|
||||
|
||||
|
|
|
|||
9
modules/syncthing.nix
Normal file
9
modules/syncthing.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{ pkgs, ... }: {
|
||||
services = {
|
||||
syncthing = {
|
||||
enable = true;
|
||||
user = "srid";
|
||||
dataDir = "/home/srid";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -72,11 +72,6 @@
|
|||
|
||||
services = {
|
||||
openssh.enable = true;
|
||||
syncthing = {
|
||||
enable = true;
|
||||
user = "srid";
|
||||
dataDir = "/home/srid";
|
||||
};
|
||||
};
|
||||
|
||||
# Open ports in the firewall.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue