nix-config/homeManagerModules/packages/misc.nix
2025-01-27 08:41:58 +01:00

45 lines
854 B
Nix

{
lib,
config,
pkgs,
...
}:
let
cfg = config.krop.hm.packages.misc;
in
{
options.krop.hm.packages.misc = {
enable = lib.mkOption {
type = lib.types.bool;
default = true;
example = false;
description = "Enable my misc applications";
};
syncthing = lib.mkOption {
type = lib.types.bool;
default = true;
example = false;
description = "Enable syncthing";
};
};
config = lib.mkIf cfg.enable {
home.packages = with pkgs; [
spotify
moonlight-qt
jetbrains-mono
mattermost-desktop
gparted
lutris
prismlauncher # REMOVE AND MOVE TO games module after refactoring
joplin-desktop
wireshark
discord
element-desktop
vlc
losslesscut-bin
];
services.syncthing = {
enable = true;
};
};
}