Move syncthing into global config

This commit is contained in:
2022-06-29 02:34:36 +01:00
parent 8cd0524e8d
commit ca212a6911
4 changed files with 6 additions and 15 deletions

View File

@@ -76,6 +76,12 @@
services = {
openssh.enable = true;
syncthing = {
enable = true;
user = "daniel";
dataDir = "/home/daniel";
};
tailscale = {
enable = true;
};

View File

@@ -10,7 +10,6 @@
./hardware-configuration.nix
./caddy.nix
./synapse.nix
./syncthing.nix
./prometheus.nix
];

View File

@@ -1,10 +0,0 @@
{
config,
pkgs,
lib,
...
}: {
services.syncthing = {
enable = true;
};
}

View File

@@ -165,10 +165,6 @@ in {
services = {
dunst.enable = true;
syncthing = {
enable = true;
};
screen-locker = {
enable = true;
lockCmd = "${pkgs.i3lock}/bin/i3lock -i /home/daniel/wallpapers/lock.png";