feat(desktop): automount removable media
CI / lint (push) Successful in 33s
CI / eval (push) Successful in 1m55s

This commit is contained in:
Miguel Palhas
2026-09-11 16:19:24 +01:00
parent ddd449e3ea
commit 78fdb8b3f3
5 changed files with 25 additions and 0 deletions
+1
View File
@@ -6,6 +6,7 @@
{
imports = [
./darkman.nix
./udiskie.nix
# mpv is installed by programs.mpv there, not as a bare package here.
../mpv.nix
];
+13
View File
@@ -0,0 +1,13 @@
{ ... }:
{
# Mounts removable media on insert. Needed on top of host-side udisks2:
# udisks2 only exposes the API, and Thunar is installed as a bare package
# here (no thunar-volman), so nothing would otherwise mount anything.
services.udiskie = {
enable = true;
automount = true;
notify = true;
# No systray dependency — unmount from Thunar or `udisksctl unmount`.
tray = "never";
};
}