chore: routine maintenance
This commit is contained in:
parent
c45ba82b90
commit
c7743490a7
75 changed files with 1200 additions and 634 deletions
15
home/scripts/ntfy.nix
Normal file
15
home/scripts/ntfy.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
}:
|
||||
let
|
||||
inherit (lib) getExe';
|
||||
in
|
||||
pkgs.writeShellScriptBin "ntfy" ''
|
||||
set -o allexport
|
||||
source "${config.sops.secrets."ntfy".path}"
|
||||
set +o allexport
|
||||
|
||||
${getExe' pkgs.ntfy-sh "ntfy"} "$@"
|
||||
''
|
||||
Loading…
Add table
Add a link
Reference in a new issue