Talk:USB storage devices: Difference between revisions
Appearance
Latest comment: 7 October by Strider22 in topic Without Home Manager
→Without Home Manager: new section |
|||
| Line 6: | Line 6: | ||
I have access to a mount in Yazi, Thunar, and Cosmic Files. Is this an ongoing issue still then? [[User:Phobos|Phobos]] ([[User talk:Phobos|talk]]) 04:08, 5 January 2026 (UTC) | I have access to a mount in Yazi, Thunar, and Cosmic Files. Is this an ongoing issue still then? [[User:Phobos|Phobos]] ([[User talk:Phobos|talk]]) 04:08, 5 January 2026 (UTC) | ||
== Without Home Manager == | |||
AI has given the following as a method for amending configuration.nix | |||
Can anyone confirm its utility? | |||
code/ | |||
nix | |||
<code>{ config, pkgs, ... }: { | |||
# 1. Enable the underlying udisks2 service | |||
services.udisks2.enable = true; | |||
# 2. Add udiskie to your system packages | |||
environment.systemPackages = with pkgs; [ | |||
udiskie | |||
]; | |||
# 3. Create a systemd user service to launch udiskie on login | |||
systemd.user.services.udiskie = { | |||
description = "udiskie automatic media mounter"; | |||
wantedBy = [ "graphical-session.target" ]; | |||
partOf = [ "graphical-session.target" ]; | |||
serviceConfig = { | |||
# Runs udiskie with a system tray icon enabled | |||
ExecStart = "${pkgs.udiskie}/bin/udiskie --tray"; | |||
Restart = "always"; | |||
}; | |||
}; | |||
}</code> | |||
/code | |||
[[User:Strider22|Strider22]] ([[User talk:Strider22|talk]]) 21:18, 7 October 2026 (UTC) | |||
Revision as of 21:18, 7 October 2026
Is the issues with needing to specify file managers fixed?
I'm on sway nix 25.11 and enabled:
services.udiskie.enable = true;
I have access to a mount in Yazi, Thunar, and Cosmic Files. Is this an ongoing issue still then? Phobos (talk) 04:08, 5 January 2026 (UTC)
Without Home Manager
AI has given the following as a method for amending configuration.nix
Can anyone confirm its utility?
code/
nix
{ config, pkgs, ... }: {
# 1. Enable the underlying udisks2 service
services.udisks2.enable = true;
# 2. Add udiskie to your system packages
environment.systemPackages = with pkgs; [
udiskie
];
# 3. Create a systemd user service to launch udiskie on login
systemd.user.services.udiskie = {
description = "udiskie automatic media mounter";
wantedBy = [ "graphical-session.target" ];
partOf = [ "graphical-session.target" ];
serviceConfig = {
# Runs udiskie with a system tray icon enabled
ExecStart = "${pkgs.udiskie}/bin/udiskie --tray";
Restart = "always";
};
};
}
/code