my-lib/settings: manage settings shared globally
This commit is contained in:
parent
4169513ead
commit
d9a7b3d48c
5 changed files with 135 additions and 59 deletions
|
@ -1,3 +1,11 @@
|
|||
{
|
||||
mkSystemdDebug =
|
||||
{ lib, pkgs }:
|
||||
{
|
||||
ExecStart = lib.mkForce "${pkgs.tmux}/bin/tmux -S /tmp/tmux.socket new-session -s my-session -d";
|
||||
ExecStop = lib.mkForce "${pkgs.tmux}/bin/tmux -S /tmp/tmux.socket kill-session -t my-session";
|
||||
Type = "forking";
|
||||
};
|
||||
}
|
||||
// (import ./prometheus.nix)
|
||||
// (import ./settings.nix)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue