nixos-config/home-manager/profiles/valent/default.nix

18 lines
442 B
Nix
Raw Normal View History

2024-12-10 21:36:03 +08:00
{ 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" ];
};
}