aboutsummaryrefslogtreecommitdiffstats
path: root/home/nom.nix
diff options
context:
space:
mode:
authorPetri Hienonen <petri.hienonen@gmail.com>2025-12-31 10:50:26 +0200
committerPetri Hienonen <petri.hienonen@gmail.com>2025-12-31 10:50:26 +0200
commit87376d215cc0950f2626feb29e0ceb7aa01cff14 (patch)
tree31f9151ce3eee4ab18c7bce2c59bec6c73a3cdb7 /home/nom.nix
parent773c14a39473a8d4531007eb4fe9aafe025444ef (diff)
downloadnixos-87376d215cc0950f2626feb29e0ceb7aa01cff14.tar.zst
Update configuration
Diffstat (limited to '')
-rw-r--r--home/nom.nix43
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
+ '';
+ };
}