syncthing: init
This commit is contained in:
parent
84849d5b2d
commit
8e84af98ac
9 changed files with 91 additions and 6 deletions
|
|
@ -9,6 +9,7 @@
|
|||
./kdeconnect.nix
|
||||
./ookbrightness.nix
|
||||
./zellijMenu.nix
|
||||
./syncthing-applet.nix
|
||||
./nemo.nix
|
||||
./qtscrcpy.nix
|
||||
];
|
||||
|
|
|
|||
15
modules/home/workstation/tools/syncthing-applet.nix
Normal file
15
modules/home/workstation/tools/syncthing-applet.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
osConfig,
|
||||
pkgs,
|
||||
lib,
|
||||
ook,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkIf;
|
||||
inherit (ook.lib.services) mkTrayService;
|
||||
inherit (osConfig.ooknet.host) syncthing;
|
||||
in {
|
||||
config = mkIf syncthing.enable {
|
||||
systemd.user.services."syncthing-applet" = mkTrayService "${pkgs.syncthingtray-minimal}/bin/syncthingtray --wait";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue