mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 12:29:19 -08:00
mweep
This commit is contained in:
parent
0262081094
commit
0b68116260
18 changed files with 166 additions and 35 deletions
30
home/environments/i3/conky/conky.nix.old
Normal file
30
home/environments/i3/conky/conky.nix.old
Normal 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" ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue