~ruther/nixos-config

ref: 96138c4c0bc8e6b1eab58d5ca9be9337a02a4504 nixos-config/modules/services/udiskie.nix -rw-r--r-- 308 bytes
96138c4c — Frantisek Bohacek feat: suspend on lid switch on laptop phobos 1 year, 10 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#
# Mounting tool
#

{ config, lib, nixpkgs, pkgs, ... }:

{
  services = {
    udiskie = {                         # Udiskie wil automatically mount storage devices
      enable = true;
      automount = true;
      tray = "auto";                    # Will only show up in systray when active
    };
  };
}