Add alerttonotify user service
This commit is contained in:
parent
2de34d6505
commit
10866cb97c
@ -7,11 +7,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1733183260,
|
||||
"narHash": "sha256-6pB/H1Z+s+fGm2jqsiYKyrNeny7TfcCGbUhjTbTDGE8=",
|
||||
"lastModified": 1733205085,
|
||||
"narHash": "sha256-W+GqdY5EQ6AY5//TIc1QCTF5Fs4DmvF7IyR+V1GEOrA=",
|
||||
"ref": "master",
|
||||
"rev": "686a322f00d5d042aad28d3eed5ac1b96443ae02",
|
||||
"revCount": 3,
|
||||
"rev": "d941260e388f1d790bc45f37788e2216605b105f",
|
||||
"revCount": 4,
|
||||
"type": "git",
|
||||
"url": "https://git.t-juice.club/torjus/alerttonotify"
|
||||
},
|
||||
|
@ -31,6 +31,7 @@
|
||||
./scripts
|
||||
./services/backup-home.nix
|
||||
./services/ghettoptt.nix
|
||||
./services/alerttonotify.nix
|
||||
./sops
|
||||
./ssh
|
||||
./zsh
|
||||
|
15
home/services/alerttonotify.nix
Normal file
15
home/services/alerttonotify.nix
Normal file
@ -0,0 +1,15 @@
|
||||
{ pkgs, config, ... }:
|
||||
{
|
||||
systemd.user.services.alerttonotify = {
|
||||
Unit = {
|
||||
Description = "Run alerttonotify";
|
||||
};
|
||||
Service = {
|
||||
Type = "simple";
|
||||
ExecStart = "${pkgs.alerttonotify}/bin/alerttonotify";
|
||||
};
|
||||
Install = {
|
||||
WantedBy = [ "graphical-session.target" ];
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user