diff options
Diffstat (limited to '')
| -rw-r--r-- | home/nom.nix | 43 |
1 files changed, 23 insertions, 20 deletions
diff --git a/home/nom.nix b/home/nom.nix index aa03b35..be793b3 100644 --- a/home/nom.nix +++ b/home/nom.nix @@ -6,24 +6,27 @@ }: { - home.activation.writeNomConfig = lib.hm.dag.entryAfter [ "writeBoundary" ] '' - mkdir -p $HOME/.config/nom - cat > $HOME/.config/nom/config.yml <<EOF - autoread: true - ordering: desc - showread: false - openers: - - regex: "youtube" - cmd: "mpv %s" - - regex: ".*" - cmd: "${pkgs.firefox}/bin/firefox %s" - refreshinterval: 5 - filtering: - defaultIncludeFeedName: true - backends: - miniflux: - host: https://flux.tammi.cc - api_key: $( ${pkgs.coreutils}/bin/cat ${config.age.secrets.miniflux_api_key.path} ) - EOF - ''; + home = { + packages = [ pkgs.nom ]; + activation.writeNomConfig = lib.hm.dag.entryAfter [ "writeBoundary" ] '' + mkdir -p $HOME/.config/nom + cat > $HOME/.config/nom/config.yml <<EOF + autoread: true + ordering: desc + showread: false + openers: + - regex: "youtube" + cmd: "mpv %s" + - regex: ".*" + cmd: "${pkgs.firefox}/bin/firefox %s" + refreshinterval: 5 + filtering: + defaultIncludeFeedName: true + backends: + miniflux: + host: https://flux.tammi.cc + api_key: $( ${pkgs.coreutils}/bin/cat ${config.age.secrets.miniflux_api_key.path} ) + EOF + ''; + }; } |
