misc: initial commit
This commit is contained in:
commit
964b99b28d
32 changed files with 1675 additions and 0 deletions
18
home/apps/syncthing.nix
Normal file
18
home/apps/syncthing.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
lib,
|
||||
pkgs,
|
||||
osConfig,
|
||||
...
|
||||
}: let
|
||||
enablePlasma = osConfig.services.desktopManager.plasma6.enable;
|
||||
enableGnome = osConfig.services.xserver.desktopManager.gnome.enable;
|
||||
in {
|
||||
services.syncthing = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
home.packages = lib.mkMerge [
|
||||
(lib.mkIf enablePlasma [pkgs.syncthingtray-qt6])
|
||||
(lib.mkIf enableGnome [pkgs.gnomeExtensions.syncthing-indicator])
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue