2019-04-21 10:18:35 +01:00
|
|
|
{ config, pkgs, ... }:
|
2019-07-06 16:42:32 +01:00
|
|
|
let
|
|
|
|
unstableTarball = fetchTarball https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz;
|
|
|
|
in
|
2019-07-07 12:08:00 +01:00
|
|
|
{
|
2019-07-06 16:42:32 +01:00
|
|
|
nixpkgs.config = {
|
|
|
|
packageOverrides = pkgs: {
|
|
|
|
unstable = import unstableTarball {
|
|
|
|
config = config.nixpkgs.config;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2019-04-21 10:18:35 +01:00
|
|
|
services.syncthing = {
|
2019-07-07 12:08:00 +01:00
|
|
|
enable = true;
|
|
|
|
user = "cyryl";
|
|
|
|
dataDir = "/home/cyryl/.syncthing";
|
|
|
|
openDefaultPorts = true;
|
|
|
|
package = pkgs.unstable.syncthing;
|
2019-04-21 10:18:35 +01:00
|
|
|
};
|
2019-07-07 12:08:00 +01:00
|
|
|
}
|