summary refs log tree commit diff
path: root/nixos/modules/services/desktops
diff options
context:
space:
mode:
authorBjørn Forsman <bjorn.forsman@gmail.com>2014-12-11 23:04:00 +0100
committerBjørn Forsman <bjorn.forsman@gmail.com>2014-12-11 23:13:39 +0100
commitf3a46c3858993d46b2ac444f197912eb1f2caf0b (patch)
tree482aaffde4fc1a73025cca1a931d2c81e58b92e2 /nixos/modules/services/desktops
parent80e3018bc0bde424e070856c4686fd1b42d19a4a (diff)
downloadnixlib-f3a46c3858993d46b2ac444f197912eb1f2caf0b.tar
nixlib-f3a46c3858993d46b2ac444f197912eb1f2caf0b.tar.gz
nixlib-f3a46c3858993d46b2ac444f197912eb1f2caf0b.tar.bz2
nixlib-f3a46c3858993d46b2ac444f197912eb1f2caf0b.tar.lz
nixlib-f3a46c3858993d46b2ac444f197912eb1f2caf0b.tar.xz
nixlib-f3a46c3858993d46b2ac444f197912eb1f2caf0b.tar.zst
nixlib-f3a46c3858993d46b2ac444f197912eb1f2caf0b.zip
nixos/gnome: enable MTP support in gvfs
To support browsing files on Android phones in Nautilus (and other GVFS
based file browsers).
Diffstat (limited to 'nixos/modules/services/desktops')
-rw-r--r--nixos/modules/services/desktops/gnome3/gvfs.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/nixos/modules/services/desktops/gnome3/gvfs.nix b/nixos/modules/services/desktops/gnome3/gvfs.nix
index 7e1382b161e1..c4f41a6125c7 100644
--- a/nixos/modules/services/desktops/gnome3/gvfs.nix
+++ b/nixos/modules/services/desktops/gnome3/gvfs.nix
@@ -1,6 +1,6 @@
 # gvfs backends
 
-{ config, lib, ... }:
+{ config, lib, pkgs, ... }:
 
 with lib;
 
@@ -37,6 +37,8 @@ in
 
     services.dbus.packages = [ gnome3.gvfs ];
 
+    services.udev.packages = [ pkgs.libmtp ];
+
   };
 
 }