Commit 4d575f42882b
Changed files (2)
profiles
profiles/desktop.nix
@@ -7,11 +7,12 @@
./printing.nix
./scanning.nix
./avahi.nix
+ ./syncthing.nix
];
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
- boot.kernelPackages = pkgs.linuxPackages_4_12;
+ #boot.kernelPackages = pkgs.linuxPackages_4_12;
boot.tmpOnTmpfs = true;
environment.systemPackages = with pkgs; [
profiles/syncthing.nix
@@ -0,0 +1,11 @@
+{ config, pkgs, ... }:
+
+{
+ services.syncthing = {
+ enable = true;
+ useInotify = true;
+ user = "vincent";
+ dataDir = "/home/vincent/.syncthing";
+ openDefaultPorts = true;
+ };
+}
\ No newline at end of file