Syncthing service

This commit is contained in:
Chris Dombroski 2024-05-24 07:43:22 -04:00
parent 9bf8725347
commit 228759d340

View file

@ -56,6 +56,7 @@
];
})
# # Adds the 'hello' command to your environment. It prints a friendly
# # "Hello, world!" when run.
# pkgs.hello
@ -74,6 +75,18 @@
# '')
];
services.syncthing = {
enable = true;
tray.enable = true;
};
systemd.user.targets.tray = {
Unit = {
Description = "System Tray";
Requires = [ "graphical-session-pre.target" ];
};
};
nixpkgs.config = {
allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ "discord" ];
permittedInsecurePackages = [ "electron-25.9.0" ];