hm/valent: init

This commit is contained in:
Lu Wang 2024-12-10 21:36:03 +08:00
parent 52600dbb00
commit 3731029fde
Signed by: rebmit
SSH key fingerprint: SHA256:3px8QV1zEerIrEWHaqtH5rR9kjetyRST5EipOPrd+bU
2 changed files with 18 additions and 0 deletions

View file

@ -46,6 +46,7 @@ let
kitty
qt
theme.catppuccin
valent
xdg-user-dirs
# keep-sorted end
]);

View file

@ -0,0 +1,17 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [ valent ];
systemd.user.services.valent = {
Unit = {
PartOf = [ "graphical-session.target" ];
After = [ "graphical-session.target" ];
Requisite = [ "graphical-session.target" ];
};
Service = {
ExecStart = "${pkgs.valent}/bin/valent --gapplication-service";
Restart = "on-failure";
};
Install.WantedBy = [ "graphical-session.target" ];
};
}