about summary refs log tree commit diff
diff options
context:
space:
mode:
authoraszlig <aszlig@nix.build>2018-04-12 15:10:37 +0200
committeraszlig <aszlig@nix.build>2018-04-12 15:20:11 +0200
commitf19c7b3f65f792cc9ac40a3347fb69c4d407aa45 (patch)
tree4a110144796d5d8492ff96581159aa02ebc6125e
parent4a38b77ee820f0c729bd0ba154fb9b319e5d58f9 (diff)
profiles/managed: Enable GVFS
This module adds udev rules for MTP devices, so in theory we do not need
it. However I can remember one occasion where this was needed, but I
don't remember exactly why. So let's better err on our side rather than
causing problems for the users.

Signed-off-by: aszlig <aszlig@nix.build>
-rw-r--r--modules/user/aszlig/profiles/managed.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/user/aszlig/profiles/managed.nix b/modules/user/aszlig/profiles/managed.nix
index 4f263dbb..6f175b93 100644
--- a/modules/user/aszlig/profiles/managed.nix
+++ b/modules/user/aszlig/profiles/managed.nix
@@ -58,7 +58,10 @@ in {
       unfreeAndNonDistributablePkgs.hplipWithPlugin
     ];
 
-    # Plasma desktop with German keyboard layout
+    # For MTP and other stuff.
+    services.gnome3.gvfs.enable = true;
+
+    # Plasma desktop with German keyboard layout.
     services.xserver.enable = true;
     services.xserver.layout = "de";
     services.xserver.xkbOptions = lib.mkOverride 900 "eurosign:e";