summaryrefslogtreecommitdiff
path: root/users/seth/mixins/plasma.nix
diff options
context:
space:
mode:
authorSeth Flynn <[email protected]>2025-02-14 01:18:47 -0500
committerSeth Flynn <[email protected]>2025-02-14 01:29:06 -0500
commit3e208d20934bedd8cd7769f23f35cfae9d8e7d0d (patch)
tree452399d770df6be2589be3c92771b1999dd1b93a /users/seth/mixins/plasma.nix
parentc1bea770122a7cf2dea5113387265f59010d5a7f (diff)
seth: simplify module structure
Moving to mixins generally reduces the boilerplate in all configurations, and less custom "stuff" These are then enabled by the regular options in programs.nix for example Many of the other options (like desktops) also had little use in being abstracted as there's no situation where I'd *not* want them to be applied when said desktop is in use
Diffstat (limited to 'users/seth/mixins/plasma.nix')
-rw-r--r--users/seth/mixins/plasma.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/users/seth/mixins/plasma.nix b/users/seth/mixins/plasma.nix
new file mode 100644
index 0000000..fe9d69f
--- /dev/null
+++ b/users/seth/mixins/plasma.nix
@@ -0,0 +1,24 @@
+{
+ lib,
+ pkgs,
+ osConfig,
+ ...
+}:
+
+let
+ enable = osConfig.services.desktopManager.plasma6.enable or false;
+in
+
+{
+ config = lib.mkIf enable {
+ home.packages = [
+ # Matrix client
+ # TODO: Use after it drops libolm
+ # pkgs.kdePackages.neochat
+ # Mastodon client
+ pkgs.kdePackages.tokodon
+ # Torrent client
+ pkgs.qbittorrent
+ ];
+ };
+}