Add natstonotify
All checks were successful
Run nix flake check / flake-check (push) Successful in 1m42s

This commit is contained in:
Torjus Håkestad 2025-02-11 20:14:37 +01:00
parent f1dba8c6d8
commit fc1a32e1c5
Signed by: torjus
SSH Key Fingerprint: SHA256:KjAds8wHfD2mBYK2H815s/+ABcSdcIHUndwHEdSxml4
4 changed files with 44 additions and 0 deletions

View File

@ -86,6 +86,27 @@
"url": "https://git.t-juice.club/torjus/huecli" "url": "https://git.t-juice.club/torjus/huecli"
} }
}, },
"natstonotify": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1739300969,
"narHash": "sha256-Px0gbrbUulooUxX2Ww6bpWkM5QXKb17pN60TPwyLBrc=",
"ref": "master",
"rev": "6ac9b1bb3a515aea46fab67ed5fc9a508392f39f",
"revCount": 6,
"type": "git",
"url": "https://git.t-juice.club/torjus/natstonotify"
},
"original": {
"ref": "master",
"type": "git",
"url": "https://git.t-juice.club/torjus/natstonotify"
}
},
"nix-packages": { "nix-packages": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@ -269,6 +290,7 @@
"ghettoptt": "ghettoptt", "ghettoptt": "ghettoptt",
"home-manager": "home-manager", "home-manager": "home-manager",
"huecli": "huecli", "huecli": "huecli",
"natstonotify": "natstonotify",
"nix-packages": "nix-packages", "nix-packages": "nix-packages",
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs",
"nixpkgs-stable": "nixpkgs-stable", "nixpkgs-stable": "nixpkgs-stable",

View File

@ -34,6 +34,10 @@
url = "git+https://git.t-juice.club/torjus/alerttonotify?ref=master"; url = "git+https://git.t-juice.club/torjus/alerttonotify?ref=master";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
natstonotify = {
url = "git+https://git.t-juice.club/torjus/natstonotify?ref=master";
inputs.nixpkgs.follows = "nixpkgs";
};
}; };
outputs = outputs =
@ -47,6 +51,7 @@
ghettoptt, ghettoptt,
huecli, huecli,
alerttonotify, alerttonotify,
natstonotify,
nix-packages, nix-packages,
... ...
}@inputs: }@inputs:
@ -81,6 +86,7 @@
nix-packages.overlays.default nix-packages.overlays.default
nixprstatus.overlays.default nixprstatus.overlays.default
alerttonotify.overlays.default alerttonotify.overlays.default
natstonotify.overlays.default
]; ];
in in
{ {

View File

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

View File

@ -0,0 +1,15 @@
{ pkgs, ... }:
{
systemd.user.services.natstonotify = {
Unit = {
Description = "Run natstonotify";
};
Service = {
Type = "simple";
ExecStart = "${pkgs.natstonotify}/bin/natstonotify";
};
Install = {
WantedBy = [ "graphical-session.target" ];
};
};
}