From d2e77b088f074fc831cf8ffb97f7af890c6c620a Mon Sep 17 00:00:00 2001 From: Trolli Schmittlauch Date: Wed, 31 Jul 2024 21:38:08 +0200 Subject: [PATCH] kmail/ kde-pim: install via NixOS option instead Installing the kde-pim sutie is quite complex. Thus, there's a `programs.kde-pim` in NixOS now to keep track of all necessarry packages. Removing the attempted list of necessary packages from explicit NixOS and home packages instead. --- common/default.nix | 7 +++++++ common/packages.nix | 2 -- home/modules/packages.nix | 7 ------- 3 files changed, 7 insertions(+), 9 deletions(-) diff --git a/common/default.nix b/common/default.nix index 4753b1c..739c0b5 100644 --- a/common/default.nix +++ b/common/default.nix @@ -158,6 +158,13 @@ in wayland.enable = true; }; services.desktopManager.plasma6.enable = true; + # TODO: move out into a plasma.nix module + programs.kde-pim = { + enable = true; + kmail = true; + kontact = true; + merkuro = true; + }; # enable wayland for Chromium and Electron environment.sessionVariables.NIXOS_OZONE_WL = "1"; diff --git a/common/packages.nix b/common/packages.nix index b5a352a..2dce963 100644 --- a/common/packages.nix +++ b/common/packages.nix @@ -48,8 +48,6 @@ networkmanager-openconnect networkmanager-vpnc networkmanager-openvpn - # TODO: is this still necessary? - kdePackages.akonadi-mime # for KOrganizer # for some Flatpak packkages accountsservice ]; diff --git a/home/modules/packages.nix b/home/modules/packages.nix index 5752988..9ce8eef 100644 --- a/home/modules/packages.nix +++ b/home/modules/packages.nix @@ -198,13 +198,6 @@ let okular gwenview yakuake - kmail - kontact - korganizer - akonadi-mime # for KOrganizer - kmail-account-wizard - akonadi-import-wizard - kaddressbook kdeconnect dolphin spectacle