Compare commits

...

2 Commits

Author SHA1 Message Date
10866cb97c
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
2024-12-03 06:52:19 +01:00
2de34d6505
Add alerttonotify input 2024-12-03 06:46:24 +01:00
4 changed files with 44 additions and 0 deletions

View File

@ -1,5 +1,26 @@
{ {
"nodes": { "nodes": {
"alerttonotify": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1733205085,
"narHash": "sha256-W+GqdY5EQ6AY5//TIc1QCTF5Fs4DmvF7IyR+V1GEOrA=",
"ref": "master",
"rev": "d941260e388f1d790bc45f37788e2216605b105f",
"revCount": 4,
"type": "git",
"url": "https://git.t-juice.club/torjus/alerttonotify"
},
"original": {
"ref": "master",
"type": "git",
"url": "https://git.t-juice.club/torjus/alerttonotify"
}
},
"ghettoptt": { "ghettoptt": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@ -244,6 +265,7 @@
}, },
"root": { "root": {
"inputs": { "inputs": {
"alerttonotify": "alerttonotify",
"ghettoptt": "ghettoptt", "ghettoptt": "ghettoptt",
"home-manager": "home-manager", "home-manager": "home-manager",
"huecli": "huecli", "huecli": "huecli",

View File

@ -30,6 +30,10 @@
url = "git+https://git.t-juice.club/torjus/nixprstatus?ref=master"; url = "git+https://git.t-juice.club/torjus/nixprstatus?ref=master";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
alerttonotify = {
url = "git+https://git.t-juice.club/torjus/alerttonotify?ref=master";
inputs.nixpkgs.follows = "nixpkgs";
};
}; };
outputs = outputs =
@ -42,6 +46,7 @@
sops-nix, sops-nix,
ghettoptt, ghettoptt,
huecli, huecli,
alerttonotify,
nix-packages, nix-packages,
... ...
}@inputs: }@inputs:
@ -75,6 +80,7 @@
huecli.overlays.default huecli.overlays.default
nix-packages.overlays.default nix-packages.overlays.default
nixprstatus.overlays.default nixprstatus.overlays.default
alerttonotify.overlays.default
]; ];
in in
{ {

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