summaryrefslogtreecommitdiff
path: root/user-profiles/feeds/default.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2021-09-04 21:52:24 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2021-09-04 21:52:24 +0200
commit09d82350943286abc4a0b66c84287eb30a4b6f43 (patch)
tree9a823767b6fd5d073934a5627190755ff88b4c2c /user-profiles/feeds/default.nix
parent2a7280335e2d290ea96c795dbb5bbc12cdd8061b (diff)
downloadnixos-09d82350943286abc4a0b66c84287eb30a4b6f43.tar
nixos-09d82350943286abc4a0b66c84287eb30a4b6f43.tar.gz
nixos-09d82350943286abc4a0b66c84287eb30a4b6f43.tar.bz2
nixos-09d82350943286abc4a0b66c84287eb30a4b6f43.tar.xz
nixos-09d82350943286abc4a0b66c84287eb30a4b6f43.zip
feeds: imm-notmuch-insert
Diffstat (limited to 'user-profiles/feeds/default.nix')
-rw-r--r--user-profiles/feeds/default.nix25
1 files changed, 9 insertions, 16 deletions
diff --git a/user-profiles/feeds/default.nix b/user-profiles/feeds/default.nix
index cfecf17e..82be90c7 100644
--- a/user-profiles/feeds/default.nix
+++ b/user-profiles/feeds/default.nix
@@ -1,18 +1,11 @@
1{ config, flakeInputs, userName, pkgs, lib, ... }: 1{ config, flakeInputs, pkgs, lib, userName, customUtils, ... }:
2 2{
3with lib; 3 home-manager.users.${userName} = {...}: {
4 4 imports = [
5let 5 (customUtils.overrideModuleArgs
6 cfg = config.home-manager.users.${userName}; 6 (import ./module.nix)
7 inherit (flakeInputs.home-manager.lib) hm; 7 (inputs: inputs // { inherit flakeInputs; inherit (config.nixpkgs) system; })
8 8 )
9 imm = flakeInputs.imm.defaultPackage.${config.nixpkgs.system}; 9 ];
10in {
11 config.home-manager.users.${userName} = {
12 home.packages = [ imm ];
13
14 home.activation.createImm = hm.dag.entryAfter ["writeBoundary"] ''
15 $DRY_RUN_CMD mkdir -p $VERBOSE_ARG ${cfg.xdg.configHome}/imm
16 '';
17 }; 10 };
18} 11}