start handy on startup
This commit is contained in:
@@ -29,5 +29,17 @@
|
|||||||
jjui
|
jjui
|
||||||
bat
|
bat
|
||||||
];
|
];
|
||||||
|
|
||||||
|
systemd.user.services.handy = {
|
||||||
|
description = "Handy";
|
||||||
|
wantedBy = ["graphical-session.target"];
|
||||||
|
partOf = ["graphical-session.target"];
|
||||||
|
after = ["graphical-session.target"];
|
||||||
|
serviceConfig = {
|
||||||
|
ExecStart = "${self.packages.${pkgs.stdenv.hostPlatform.system}.handy}/bin/handy";
|
||||||
|
Restart = "on-failure";
|
||||||
|
RestartSec = 5;
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user