misc: initial commit

This commit is contained in:
Emily 2024-12-28 19:33:49 -05:00
commit 964b99b28d
32 changed files with 1675 additions and 0 deletions

18
home/apps/syncthing.nix Normal file
View 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])
];
}