22 lines
483 B
Nix
22 lines
483 B
Nix
{inputs, ...}: let
|
|
inherit (inputs) self;
|
|
|
|
mkHome = user: host: {
|
|
imports = [
|
|
(self + "/home")
|
|
# TODO: Import this conditionally!
|
|
# (self + "/home/by-host/${host}")
|
|
(self + "/modules/home")
|
|
];
|
|
};
|
|
in {
|
|
imports = [
|
|
inputs.home-manager.flakeModules.home-manager
|
|
];
|
|
|
|
flake.homeConfigurations = {
|
|
"toph@endurance" = mkHome "toph" "endurance";
|
|
"toph@vasa" = mkHome "toph" "vasa";
|
|
"toph@aepplet" = mkHome "toph" "aepplet";
|
|
};
|
|
}
|