summaryrefslogtreecommitdiff
path: root/home/default.nix
blob: c43ca2987fb8cb7d133049248ccc6509d5cfa44f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{
  inputs,
  outputs,
  self,
  kansaiPkgs,
  secrets,
  ...
}:
{
  flake.homeConfigurations.ebisu =
    let
      flakeDirectory = builtins.getEnv "FLAKE_ROOT";
      pkgs = (kansaiPkgs { })."${builtins.currentSystem}";
    in
    inputs.home-manager.lib.homeManagerConfiguration {
      inherit pkgs;

      modules = with inputs; [
        ./ebisu
        chaotic.homeManagerModules.default
        pywal-nix.homeManagerModules.${pkgs.system}.default
        rui.homeManagerModules.${pkgs.system}.default
        sops-nix.homeManagerModules.sops
      ];

      extraSpecialArgs = {
        inherit
          inputs
          outputs
          self
          secrets
          flakeDirectory
          ;
      };
    };
}