From 548ffa8a2d8f8dee16c3e557e9402a61d088a8c3 Mon Sep 17 00:00:00 2001 From: Filippo Berto Date: Tue, 5 Mar 2024 16:07:54 +0100 Subject: [PATCH] Ntfy: client --- modules/hm/__basic.nix | 5 ++++- modules/hm/ntfy.nix | 7 +++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 modules/hm/ntfy.nix diff --git a/modules/hm/__basic.nix b/modules/hm/__basic.nix index 1649a08..90df2b1 100644 --- a/modules/hm/__basic.nix +++ b/modules/hm/__basic.nix @@ -2,7 +2,9 @@ home = { language.base = "it_IT.UTF-8"; packages = builtins.attrValues { - inherit (pkgs) fd file htop mmv-go neofetchnixos-optionntfy-shpvripgrepunrarunzipwget xclip yq zip; + inherit (pkgs) + fd file htop mmv-go neofetch nixos-option pv ripgrep unrar unzip wget + xclip yq zip; }; }; @@ -25,6 +27,7 @@ ./keychain.nix ./lf.nix ./man.nix + ./ntfy.nix ./shell_aliases.nix ./ssh.nix ./starship.nix diff --git a/modules/hm/ntfy.nix b/modules/hm/ntfy.nix new file mode 100644 index 0000000..bf90344 --- /dev/null +++ b/modules/hm/ntfy.nix @@ -0,0 +1,7 @@ +{ pkgs, ... }: { + home.packages = [ pkgs.ntfy-sh ]; + xdg.configFile."ntfy/client.yml".text = '' + default-host: https://ntfy.bertof.net + ''; +} +