Sway: Difference between revisions

Phobos (talk | contribs)
mNo edit summary
Phobos (talk | contribs)
m Added a section on automounting
Line 373: Line 373:
   };
   };
}|name=/etc/nixos/configuration.nix|lang=nix}}{{Tip|Make sure that you do not have conflicting definitions for xdg.portal in Home Manager.}}
}|name=/etc/nixos/configuration.nix|lang=nix}}{{Tip|Make sure that you do not have conflicting definitions for xdg.portal in Home Manager.}}
=== Auto mounting USB storage devices (e.g. Flash Drives) ===
You can use [https://github.com/coldfix/udiskie udiskie] to automatically mount external storage medias.
You will need to install and enable [https://www.freedesktop.org/wiki/Software/udisks/ udisks2].
{{File|3=services.udisks2.enable = true;|name=/etc/nixos/configuration.nix|lang=nix}}
Then, in Home Manager you can enable udiskie.
{{File|3=services.udiskie.enable = true;|name=/etc/nixos/home.nix|lang=nix}}
Udiskie will automatically mount attached USB storage media.
See related info on [[USB storage devices]].


=== Screen dimming with wl-gammarelay-rs ===
=== Screen dimming with wl-gammarelay-rs ===