USB storage devices: Difference between revisions

34j (talk | contribs)
mNo edit summary
34j (talk | contribs)
Add workaround for https://github.com/nix-community/home-manager/issues/632
 
Line 8: Line 8:


{{file|~/.config/home-manager/home.nix|nix|3=
{{file|~/.config/home-manager/home.nix|nix|3=
services.udiskie.enable = true;
services.udiskie = {
# services.udiskie.automount = true; # true by default}}
    enable = true;
    settings = {
        # workaround for
        # https://github.com/nix-community/home-manager/issues/632
        program_options = {
            # replace with your favorite file manager
            file_manager = "${pkgs.nemo-with-extensions}/bin/nemo";
        };
    };
};
}}


Once the configurations are reflected, USB storage devices will be instantly recognized when inserted without any additional operations needed.
Once the configurations are reflected, USB storage devices will be instantly recognized when inserted without any additional operations needed.