This commit is contained in:
Kat Inskip 2025-06-23 00:41:18 -07:00
parent 0262081094
commit 0b68116260
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
18 changed files with 166 additions and 35 deletions

View file

@ -0,0 +1,30 @@
{ config, pkgs, ... }: {
home.packages = with pkgs; [
jq
];
xdg.configFile.conky = {
recursive = true;
source = config.lib.file.mkOutOfStoreSymlink ./.;
};
systemd.user.services.conky = {
Unit = {
Description = "Conky - Lightweight system monitor";
After = [ "graphical-session.target" ];
X-Restart-Triggers = [
./conky.conf
];
};
Service = {
Restart = "always";
RestartSec = "3";
ExecStartPre = "${pkgs.coreutils}/bin/sleep 5";
ExecStart = toString ([ "${(pkgs.conky.override { nvidiaSupport = true; })}/bin/conky"]);
};
Install.WantedBy = [ "graphical-session.target" ];
};
}