mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 04:19:19 -08:00
meep
This commit is contained in:
parent
2dce5c567d
commit
2b1fd9b99e
12 changed files with 54 additions and 23 deletions
|
|
@ -2,6 +2,7 @@
|
|||
inherit (lib.options) mkOption mkEnableOption mkPackageOption;
|
||||
inherit (lib.types) submodule path nullOr;
|
||||
inherit (lib.modules) mkIf;
|
||||
inherit (lib.meta) getExe';
|
||||
cfg = config.programs.konawall-py;
|
||||
in {
|
||||
options.programs.konawall-py = {
|
||||
|
|
@ -31,7 +32,7 @@ in {
|
|||
After = ["graphical-session.target" "network-online.target"];
|
||||
};
|
||||
Service = {
|
||||
ExecStart = "${cfg.package}/bin/konawall";
|
||||
ExecStart = "${getExe' cfg.package "gui"}";
|
||||
Restart = "on-failure";
|
||||
RestartSec = "1s";
|
||||
EnvironmentFile = cfg.environmentFile;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue