refactor rice into config

This commit is contained in:
atagen 2025-07-21 12:26:28 +10:00
parent 08c13ea2bc
commit 9a1217044c
64 changed files with 225 additions and 230 deletions

17
graphical/udisks.nix Normal file
View file

@ -0,0 +1,17 @@
{ lib, pkgs, ... }:
{
services.udisks2.enable = true;
hm.services.udiskie.enable = true;
# fix reliance on nonexistent graphical-session-pre.target
hm.systemd.user.services.udiskie = lib.mkForce {
Unit = {
Description = "udiskie mount daemon";
After = [ ];
PartOf = [ "graphical-session.target" ];
};
Service.ExecStart = [ "${pkgs.udiskie}/bin/udiskie --appindicator" ];
Install.WantedBy = [ "graphical-session.target" ];
};
}