48 lines
1.0 KiB
Nix
48 lines
1.0 KiB
Nix
{
|
|
metadata,
|
|
nixpkgs,
|
|
top,
|
|
}:
|
|
let
|
|
user =
|
|
host: username:
|
|
let
|
|
inherit (metadata.hosts.${host}) system;
|
|
pkgs = nixpkgs.${system};
|
|
in
|
|
top.hmunstable.lib.homeManagerConfiguration {
|
|
inherit pkgs;
|
|
modules = [
|
|
../modules/nix-conf.nix
|
|
./home.nix
|
|
];
|
|
extraSpecialArgs = {
|
|
inherit
|
|
top
|
|
host
|
|
username
|
|
metadata
|
|
;
|
|
nixvim = top.nixvimunstable;
|
|
gui = false;
|
|
gnome = false;
|
|
};
|
|
};
|
|
greg = host: (user host "greg");
|
|
in
|
|
{
|
|
"MacBook-Pro.local" = user "ivr" "gregory.hellings";
|
|
"MacBook-Prolocal.local" = user "ivr" "gregory.hellings";
|
|
"MacBook-Pro.thehellings.lan" = user "ivr" "gregory.hellings";
|
|
"gregory.hellings-mbp" = user "ivr" "gregory.hellings";
|
|
genesis = greg "genesis";
|
|
exodus = greg "exodus";
|
|
zeke = greg "zeke";
|
|
isaiah = greg "isaiah";
|
|
jeremiah = greg "jeremiah";
|
|
li = user "li" "gregory.hellings";
|
|
linode = greg "linode";
|
|
hosea = greg "hosea";
|
|
gitlab = greg "gitlab";
|
|
}
|