22 lines
510 B
Nix
22 lines
510 B
Nix
{ 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" ];
|
|
};
|
|
|
|
home.globalPersistence.directories = [
|
|
".config/valent"
|
|
];
|
|
}
|