summary refs log tree commit diff
path: root/nixos/modules/services/x11/desktop-managers/mate.nix
diff options
context:
space:
mode:
authorvolth <volth@volth.com>2019-05-13 04:12:00 +0000
committervolth <volth@volth.com>2019-05-13 04:23:56 +0000
commitac6875d294db9ffb538571bf333e8f0ba20a994c (patch)
tree0a551eee0cf731f6a1146560366859321b6f6ad3 /nixos/modules/services/x11/desktop-managers/mate.nix
parent1df1834dd1e47f9a1452fc271d7e0b4ba296e04d (diff)
downloadnixpkgs-ac6875d294db9ffb538571bf333e8f0ba20a994c.tar
nixpkgs-ac6875d294db9ffb538571bf333e8f0ba20a994c.tar.gz
nixpkgs-ac6875d294db9ffb538571bf333e8f0ba20a994c.tar.bz2
nixpkgs-ac6875d294db9ffb538571bf333e8f0ba20a994c.tar.lz
nixpkgs-ac6875d294db9ffb538571bf333e8f0ba20a994c.tar.xz
nixpkgs-ac6875d294db9ffb538571bf333e8f0ba20a994c.tar.zst
nixpkgs-ac6875d294db9ffb538571bf333e8f0ba20a994c.zip
nixos/desktop-managers: let them work when 'services.xserver.enable = false'
they can be used by remote desktop software, without X11 running locally
Diffstat (limited to 'nixos/modules/services/x11/desktop-managers/mate.nix')
-rw-r--r--nixos/modules/services/x11/desktop-managers/mate.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/x11/desktop-managers/mate.nix b/nixos/modules/services/x11/desktop-managers/mate.nix
index bf6685ff7ea..a2d0810f90d 100644
--- a/nixos/modules/services/x11/desktop-managers/mate.nix
+++ b/nixos/modules/services/x11/desktop-managers/mate.nix
@@ -42,7 +42,7 @@ in
 
   };
 
-  config = mkIf (xcfg.enable && cfg.enable) {
+  config = mkIf cfg.enable {
 
     services.xserver.desktopManager.session = singleton {
       name = "mate";