about summary refs log tree commit diff
path: root/nixos/modules/services/x11/desktop-managers/mate.nix
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@protonmail.ch>2019-09-06 09:49:17 -0400
committerworldofpeace <worldofpeace@protonmail.ch>2019-09-06 12:06:32 -0400
commit998f59ccda684ffbebb724647f914eff8a1d3afd (patch)
treea19b51841a8fa35ea537c77238b86998ad6ad6f9 /nixos/modules/services/x11/desktop-managers/mate.nix
parent335b8c65c7d71c1c4ea9cc6c78aa3399daa4b707 (diff)
nixos/mate: enable system-config-printer
After some research this should be installed as a program
in Mate or Cinnamon.
Diffstat (limited to 'nixos/modules/services/x11/desktop-managers/mate.nix')
-rw-r--r--nixos/modules/services/x11/desktop-managers/mate.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/modules/services/x11/desktop-managers/mate.nix b/nixos/modules/services/x11/desktop-managers/mate.nix
index e3fbfc390cd4c..83c60a8ad4f63 100644
--- a/nixos/modules/services/x11/desktop-managers/mate.nix
+++ b/nixos/modules/services/x11/desktop-managers/mate.nix
@@ -98,6 +98,9 @@ in
     programs.bash.vteIntegration = mkDefault true;
     programs.zsh.vteIntegration = mkDefault true;
 
+    # Mate uses this for printing
+    programs.system-config-printer.enable = (mkIf config.services.printing.enable (mkDefault true));
+
     services.gnome3.at-spi2-core.enable = true;
     services.gnome3.gnome-keyring.enable = true;
     services.gnome3.gnome-settings-daemon.enable = true;