From ff76781a97a3cc518547a8c12acd1640fed658f0 Mon Sep 17 00:00:00 2001 From: Bernardo Magri Date: Wed, 8 Jul 2026 22:09:04 +0100 Subject: [PATCH] feat(home): enable udiskie for zero-click USB automounting --- agent/BACKLOG.md | 8 -------- agent/JOURNAL.md | 7 +++++++ modules/home/default.nix | 3 +++ 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/agent/BACKLOG.md b/agent/BACKLOG.md index a4e6529..e1f61fc 100644 --- a/agent/BACKLOG.md +++ b/agent/BACKLOG.md @@ -337,14 +337,6 @@ implement. Bernardo moves accepted items into a tier.* -- **[usefulness] Automount removable media (udiskie)**: Right now - `services.udisks2` is enabled at the system level, but there is no - user-space automounter. Inserting a USB drive requires opening a file - manager to mount it manually, and there are no notifications when a drive - is safe to remove. Adding `udiskie` (enabled via Home Manager) provides a - lightweight daemon for desktop notifications and zero-click automounting - for USB drives, closing a standard workstation expectation gap. - Cost: cheap (one package + home-manager toggle). - **[usefulness] External monitor brightness control (ddcutil)**: Laptops can dim their internal screens via `brightnessctl` and the OSD keys, but diff --git a/agent/JOURNAL.md b/agent/JOURNAL.md index 9564fdb..0c52c7d 100644 --- a/agent/JOURNAL.md +++ b/agent/JOURNAL.md @@ -17,6 +17,13 @@ Template: --- +## 2026-07-08 — Automount removable media (iteration #79) +- **Task:** PROPOSED item — zero-click USB automounting and safe-removal notifications. +- **Did:** Added `services.udiskie.enable = true` to `modules/home/default.nix`. +- **Verified:** V1 (flake check). +- **Pending:** nothing. +- **Next suggestion:** continue tackling the PROPOSED backlog queue (e.g. xwaylandvideobridge or easyeffects). + ## 2026-07-08 — File Manager Archive Backend (iteration #78) - **Task:** PROPOSED item — provide a GUI backend for Thunar's archive extraction plugin. - **Did:** Added `file-roller` to `environment.systemPackages` in `modules/nixos/file-manager.nix`. diff --git a/modules/home/default.nix b/modules/home/default.nix index 5c43d4c..6f6cac8 100644 --- a/modules/home/default.nix +++ b/modules/home/default.nix @@ -34,6 +34,9 @@ # menu module. services.cliphist.enable = true; + # Automount removable media (USB drives) and provide safe-removal notifications. + services.udiskie.enable = true; + # Wifi from the bar: nm-applet lives in waybar's tray (SNI flag via # preferStatusNotifierItems — without it there is no tray icon). services.network-manager-applet.enable = true;