summaryrefslogtreecommitdiff
path: root/user-profiles/feeds/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'user-profiles/feeds/default.nix')
-rw-r--r--user-profiles/feeds/default.nix12
1 files changed, 11 insertions, 1 deletions
diff --git a/user-profiles/feeds/default.nix b/user-profiles/feeds/default.nix
index 67a6d969..cfecf17e 100644
--- a/user-profiles/feeds/default.nix
+++ b/user-profiles/feeds/default.nix
@@ -1,8 +1,18 @@
1{ config, flakeInputs, userName, pkgs, ... }: 1{ config, flakeInputs, userName, pkgs, lib, ... }:
2
3with lib;
4
2let 5let
6 cfg = config.home-manager.users.${userName};
7 inherit (flakeInputs.home-manager.lib) hm;
8
3 imm = flakeInputs.imm.defaultPackage.${config.nixpkgs.system}; 9 imm = flakeInputs.imm.defaultPackage.${config.nixpkgs.system};
4in { 10in {
5 config.home-manager.users.${userName} = { 11 config.home-manager.users.${userName} = {
6 home.packages = [ imm ]; 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 '';
7 }; 17 };
8} 18}