aboutsummaryrefslogtreecommitdiff
path: root/modules/flake/home.nix
blob: 288b5585d59bd0e070e80c7223bda1837bdbd92c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ inputs, self, ... }:

let
  inherit (inputs.nixpkgs) lib;
  import-tree = inputs.import-tree.withLib lib;

  homeModuleFiles = import-tree.leafs (self + /modules/home);
in
{
  imports = [
    inputs.home-manager.flakeModules.home-manager
  ];

  flake.homeModules = {
    default = {
      imports = homeModuleFiles ++ [
        inputs.nixcord.homeModules.nixcord
        inputs.spicetify-nix.homeManagerModules.spicetify
      ];
    };
  };
}