d706ebda65
A Framework laptop Change-Id: I646e705d12b76c83e8cdcf11c618d07db3a21f0c Reviewed-on: https://cl.tvl.fyi/c/depot/+/11235 Reviewed-by: aspen <root@gws.fyi> Tested-by: BuildkiteCI
42 lines
896 B
Nix
42 lines
896 B
Nix
{ 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"
|
|
];
|
|
}
|