feat: setup automounting usb devices

This commit is contained in:
CronyAkatsuki 2026-05-03 11:15:36 +02:00
parent edaa6030bb
commit 114a1085a6
2 changed files with 16 additions and 0 deletions

View file

@ -67,6 +67,9 @@
# Setup profiles sync daemon
services.psd.enable = true;
# Setup automatic usb device mounting
services.udisks2.enable = true;
# Get nicer hostname
networking.hostName = "skadi"; # Define your hostname.

View file

@ -36,5 +36,18 @@
# Install imv
programs.imv.enable = true;
# Setup udisk for automatic mounting of usb devices
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 = "${pkgs.kitty}/bin/kitty -e yazi";
};
};
};
};
}