diff --git a/hosts/orion/modules/services/udisks.nix b/hosts/orion/modules/services/udisks.nix new file mode 100644 index 00000000..066f4c77 --- /dev/null +++ b/hosts/orion/modules/services/udisks.nix @@ -0,0 +1,4 @@ +{ ... }: +{ + services.udisks2.enable = true; +} diff --git a/users/price/conf/udiskie/default.nix b/users/price/conf/udiskie/default.nix new file mode 100644 index 00000000..7e972979 --- /dev/null +++ b/users/price/conf/udiskie/default.nix @@ -0,0 +1,14 @@ +{ ... }: +{ + services.udiskie.enable = true; + # Udiskie requires a tray target + systemd.user.targets.tray = { + Unit = { + Description = "Home Manager System Tray"; + Requires = [ + "graphical-session-pre.target" + "compositor.target" + ]; + }; + }; +}