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.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}