about summary refs log tree commit diff
path: root/users/aspen/system/home/default.nix
blob: 90df02b378f63fd809641797efc4f050d98bb005 (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
37
38
39
40
41
42
{ pkgs, depot, lib, ... }:

with lib;

rec {
  home = confPath: (import (pkgs.home-manager.src + "/modules") {
    inherit pkgs;

    configuration = { config, lib, ... }: {
      imports = [ confPath ];
      lib.depot = depot;

      # home-manager exposes no API to override the package set that
      # is used, unless called from the NixOS module.
      #
      # To get around it, the module argument is overridden here.
      _module.args.pkgs = mkForce pkgs;
    };
  });

  dobharchu = home ./machines/dobharchu.nix;

  dobharchuHome = dobharchu.activation-script;

  ogopogo = home ./machines/ogopogo.nix;

  ogopogoHome = ogopogo.activation-script;

  yeren = home ./machines/yeren.nix;

  yerenHome = yeren.activation-script;

  lusca = home ./machines/lusca.nix;

  luscaHome = lusca.activation-script;

  meta.ci.targets = [
    "ogopogoHome"
    "luscaHome"
    "yerenHome"
  ];
}