Add alerttonotify user service
All checks were successful
Run nix flake check / flake-check (push) Successful in 2m22s
Periodic flake update / flake-update (push) Successful in 1m46s

This commit is contained in:
Torjus Håkestad 2024-12-03 06:52:19 +01:00
parent 2de34d6505
commit 10866cb97c
Signed by: torjus
SSH Key Fingerprint: SHA256:KjAds8wHfD2mBYK2H815s/+ABcSdcIHUndwHEdSxml4
3 changed files with 20 additions and 4 deletions

View File

@ -7,11 +7,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1733183260, "lastModified": 1733205085,
"narHash": "sha256-6pB/H1Z+s+fGm2jqsiYKyrNeny7TfcCGbUhjTbTDGE8=", "narHash": "sha256-W+GqdY5EQ6AY5//TIc1QCTF5Fs4DmvF7IyR+V1GEOrA=",
"ref": "master", "ref": "master",
"rev": "686a322f00d5d042aad28d3eed5ac1b96443ae02", "rev": "d941260e388f1d790bc45f37788e2216605b105f",
"revCount": 3, "revCount": 4,
"type": "git", "type": "git",
"url": "https://git.t-juice.club/torjus/alerttonotify" "url": "https://git.t-juice.club/torjus/alerttonotify"
}, },

View File

@ -31,6 +31,7 @@
./scripts ./scripts
./services/backup-home.nix ./services/backup-home.nix
./services/ghettoptt.nix ./services/ghettoptt.nix
./services/alerttonotify.nix
./sops ./sops
./ssh ./ssh
./zsh ./zsh

View 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" ];
};
};
}