Add syncthing

This commit is contained in:
Sridhar Ratnakumar 2021-04-06 16:17:36 -04:00
parent c4dcd113c8
commit c280cd7966
2 changed files with 9 additions and 2 deletions

View file

@ -69,7 +69,14 @@
vscode
];
services.openssh.enable = true;
services = {
openssh.enable = true;
syncthing = {
enable = true;
user = "srid";
dataDir = "/home/srid";
};
};
# Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ];

View file

@ -13,7 +13,7 @@
/* ({ pkgs, ... }: {
system.configurationRevision = nixpkgs.lib.mkIf (self ? rev) self.rev;
nix.registry.nixpkgs.flake = nixpkgs;
}) */
}) */
./configuration.nix
home-manager.nixosModules.home-manager
{