hm/valent: init
This commit is contained in:
parent
52600dbb00
commit
3731029fde
|
@ -46,6 +46,7 @@ let
|
|||
kitty
|
||||
qt
|
||||
theme.catppuccin
|
||||
valent
|
||||
xdg-user-dirs
|
||||
# keep-sorted end
|
||||
]);
|
||||
|
|
17
home-manager/profiles/valent/default.nix
Normal file
17
home-manager/profiles/valent/default.nix
Normal 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" ];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue