From 774c9fd91ae2d188a191315324877db404d10d67 Mon Sep 17 00:00:00 2001 From: Bobby Rong Date: Sun, 21 Jun 2026 00:13:53 +0800 Subject: [PATCH] nixos/cinnamon: Add miscellaneous packages to systemd.packages ref: https://github.com/linuxmint/cinnamon-session/commit/e01c8c37f6bb5458cc8f38ad73e23d232e7f932a ref: https://gitlab.freedesktop.org/xdg/xdg-user-dirs/-/commit/2a63d3f0ffb76135790bb1168a3270a599904380 Also add xdg-user-dirs-gtk as done in linuxmint. --- .../modules/services/x11/desktop-managers/cinnamon.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/nixos/modules/services/x11/desktop-managers/cinnamon.nix b/nixos/modules/services/x11/desktop-managers/cinnamon.nix index 738aaa000a79..2da09e9cb9bc 100644 --- a/nixos/modules/services/x11/desktop-managers/cinnamon.nix +++ b/nixos/modules/services/x11/desktop-managers/cinnamon.nix @@ -123,6 +123,15 @@ in nemo-with-extensions xapp ]; + systemd.packages = + with pkgs; + [ + cinnamon-session + ] + ++ utils.removePackagesByName [ + xdg-user-dirs # Update user dirs as described in https://freedesktop.org/wiki/Software/xdg-user-dirs/ + xdg-user-dirs-gtk + ] config.environment.cinnamon.excludePackages; services.cinnamon.apps.enable = mkDefault true; services.gnome.evolution-data-server.enable = true; services.gnome.glib-networking.enable = true; @@ -218,6 +227,7 @@ in mint-y-icons xapp # provides some xapp-* icons xapp-symbolic-icons + xdg-user-dirs-gtk ] config.environment.cinnamon.excludePackages );