From 766982d1612a5ad82c3e510129119474d8ce538c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Sun, 10 Nov 2024 08:02:53 +0100 Subject: [PATCH] add mounts for more pim paths --- programs/desktop/default.nix | 3 ++- programs/desktop/home-manager.nix | 10 +--------- programs/desktop/pim.nix | 15 +++++++++++++++ 3 files changed, 18 insertions(+), 10 deletions(-) create mode 100644 programs/desktop/pim.nix diff --git a/programs/desktop/default.nix b/programs/desktop/default.nix index 49973bb2..63c43f88 100644 --- a/programs/desktop/default.nix +++ b/programs/desktop/default.nix @@ -12,7 +12,8 @@ [ ]; environment.plasma6.excludePackages = with pkgs.kdePackages; [ - pkgs.elisa + elisa + kate ]; networking.firewall.allowedTCPPortRanges = [ diff --git a/programs/desktop/home-manager.nix b/programs/desktop/home-manager.nix index 80afe794..59b2ae8b 100644 --- a/programs/desktop/home-manager.nix +++ b/programs/desktop/home-manager.nix @@ -7,22 +7,14 @@ ./games ./ims.nix ./audacious.nix + ./pim.nix "${nixos-config}/services/desktop" ]; home.packages = with pkgs; [ - kdePackages.kontact - kdePackages.kmail-account-wizard - kdePackages.kdepim-runtime - kdePackages.kdepim-addons kdePackages.kalk kdePackages.kalgebra kdePackages.filelight kdePackages.ffmpegthumbs kdePackages.dolphin-plugins ]; - - home.persistence.default.directories = [ - ".local/share/akonadi" - ".local/share/kontact" - ]; } diff --git a/programs/desktop/pim.nix b/programs/desktop/pim.nix new file mode 100644 index 00000000..8c44aba2 --- /dev/null +++ b/programs/desktop/pim.nix @@ -0,0 +1,15 @@ +{ pkgs, ... }: +{ + home.packages = with pkgs.kdePackages; [ + kontact + kmail-account-wizard + kdepim-runtime + kdepim-addons + ]; + home.persistence.default.directories = [ + ".local/share/akonadi" + ".local/share/kontact" + ".local/share/akonadi_maildir_resource_0" + ".local/share/akgregator" + ]; +}