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": {
"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": {
"inputs": {
"nixpkgs": [
@ -244,6 +265,7 @@
},
"root": {
"inputs": {
"alerttonotify": "alerttonotify",
"ghettoptt": "ghettoptt",
"home-manager": "home-manager",
"huecli": "huecli",

View File

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

View File

@ -31,6 +31,7 @@
./scripts
./services/backup-home.nix
./services/ghettoptt.nix
./services/alerttonotify.nix
./sops
./ssh
./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" ];
};
};
}