17 lines
506 B
Nix
17 lines
506 B
Nix
{ pkgs, ... }:
|
|
{
|
|
boot.supportedFilesystems = { exfat = true; ntfs = true; };
|
|
services.udisks2.enable = true;
|
|
services.gvfs.enable = true;
|
|
|
|
environment.systemPackages = [ pkgs.udiskie ];
|
|
systemd.user.services.udiskie = {
|
|
description = "udiskie automount daemon";
|
|
wantedBy = [ "graphical-session.target" ];
|
|
partOf = [ "graphical-session.target" ];
|
|
serviceConfig = {
|
|
ExecStart = "${pkgs.udiskie}/bin/udiskie --automount --notify --tray";
|
|
Restart = "always";
|
|
};
|
|
};
|
|
} |