Ntfy config for Thor and Odin
This commit is contained in:
parent
548ffa8a2d
commit
6791ed0494
6 changed files with 26 additions and 9 deletions
|
|
@ -1,7 +1,9 @@
|
|||
{ pkgs, ... }: {
|
||||
{ nixosConfig, pkgs, config, ... }:
|
||||
let
|
||||
inherit (nixosConfig.networking) hostName;
|
||||
in
|
||||
{
|
||||
home.packages = [ pkgs.ntfy-sh ];
|
||||
xdg.configFile."ntfy/client.yml".text = ''
|
||||
default-host: https://ntfy.bertof.net
|
||||
'';
|
||||
xdg.configFile."ntfy/client.yml".source = config.lib.file.mkOutOfStoreSymlink nixosConfig.age.secrets."ntfy-${hostName}".path;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue