Add natstonotify
All checks were successful
Run nix flake check / flake-check (push) Successful in 1m42s
All checks were successful
Run nix flake check / flake-check (push) Successful in 1m42s
This commit is contained in:
parent
f1dba8c6d8
commit
fc1a32e1c5
22
flake.lock
22
flake.lock
@ -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",
|
||||||
|
@ -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
|
||||||
{
|
{
|
||||||
|
@ -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
|
||||||
|
15
home/services/natstonotify.nix
Normal file
15
home/services/natstonotify.nix
Normal 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" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user