btw i use nix
1{ config, lib, ... }@inputs:
2
3let
4 cfg = config.custom.homeManager;
5in
6{
7 options.custom.homeManager.enable = lib.mkEnableOption "homeManager";
8
9 config = lib.mkIf cfg.enable {
10 home-manager = {
11 useGlobalPkgs = true;
12 extraSpecialArgs = {
13 i3-workspace-history = inputs.i3-workspace-history;
14 timewall = inputs.timewall;
15 };
16 users.${config.custom.username} = import ../home/default.nix;
17 };
18 # zsh completion
19 environment.pathsToLink = [ "/share/zsh" ];
20 };
21}