From 9bb453f87780fb15f99072ad6296f31ffb0ffc29 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Wed, 24 Jul 2024 20:24:06 -0500 Subject: [PATCH] feat(host/orion): enable udisks2 --- hosts/orion/modules/services/udisks.nix | 4 ++++ users/price/conf/udiskie/default.nix | 14 ++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 hosts/orion/modules/services/udisks.nix create mode 100644 users/price/conf/udiskie/default.nix 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" + ]; + }; + }; +}