pantheon/modules/hm/hardware.nix
2025-04-27 20:27:38 +08:00

22 lines
467 B
Nix

{
config,
lib,
...
}:
{
config = lib.mkMerge [
(lib.mkIf config."hardware-config".usbAutoMount {
home-manager.users.rafiq.services.udiskie = {
enable = true;
settings = {
# workaround for
# https://github.com/nix-community/home-manager/issues/632
program_options = {
# replace with your favorite file manager
file_manager = "yazi";
};
};
};
})
];
}