diff options
| author | Gregor Kleen <gkleen@yggdrasil.li> | 2021-09-04 22:05:19 +0200 |
|---|---|---|
| committer | Gregor Kleen <gkleen@yggdrasil.li> | 2021-09-04 22:05:19 +0200 |
| commit | 2ee136f491d4a19f99a10d68a1f2358b095a9a83 (patch) | |
| tree | 307d382dd581f7978dd46bb634a07faf60fa23ec /user-profiles/feeds | |
| parent | 09d82350943286abc4a0b66c84287eb30a4b6f43 (diff) | |
| download | nixos-2ee136f491d4a19f99a10d68a1f2358b095a9a83.tar nixos-2ee136f491d4a19f99a10d68a1f2358b095a9a83.tar.gz nixos-2ee136f491d4a19f99a10d68a1f2358b095a9a83.tar.bz2 nixos-2ee136f491d4a19f99a10d68a1f2358b095a9a83.tar.xz nixos-2ee136f491d4a19f99a10d68a1f2358b095a9a83.zip | |
feeds: dhall...
Diffstat (limited to 'user-profiles/feeds')
| -rw-r--r-- | user-profiles/feeds/module.nix | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/user-profiles/feeds/module.nix b/user-profiles/feeds/module.nix index 7a29331b..db5e94b3 100644 --- a/user-profiles/feeds/module.nix +++ b/user-profiles/feeds/module.nix | |||
| @@ -18,18 +18,9 @@ let | |||
| 18 | ''; | 18 | ''; |
| 19 | 19 | ||
| 20 | notmuchCallbacks = pkgs.writeText "imm-callbacks-${config.home.username}.dhall" '' | 20 | notmuchCallbacks = pkgs.writeText "imm-callbacks-${config.home.username}.dhall" '' |
| 21 | let Callback : Type = | 21 | { _executable = "${immNotmuchInsert}/bin/imm-notmuch-insert" |
| 22 | { _executable : Text | 22 | , _arguments = [] : List Text |
| 23 | , _arguments : List Text | 23 | } |
| 24 | } | ||
| 25 | |||
| 26 | let notmuchInsert = | ||
| 27 | { _executable = "${immNotmuchInsert}/bin/imm-notmuch-insert" | ||
| 28 | , _arguments = [] | ||
| 29 | } | ||
| 30 | |||
| 31 | let config : List Callback = [ notmuchInsert ] | ||
| 32 | in config | ||
| 33 | ''; | 24 | ''; |
| 34 | 25 | ||
| 35 | immNotmuchInsert = pkgs.stdenv.mkDerivation rec { | 26 | immNotmuchInsert = pkgs.stdenv.mkDerivation rec { |
