feat: setup automounting usb devices
This commit is contained in:
parent
edaa6030bb
commit
114a1085a6
2 changed files with 16 additions and 0 deletions
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue