nix/home-manager/default.nix

36 lines
719 B
Nix

{
inputs,
mkPkgs,
attrs,
...
}:
{
e = inputs.home-manager.lib.homeManagerConfiguration {
pkgs = mkPkgs "x86_64-linux";
extraSpecialArgs = {
inherit inputs attrs;
useGlobalPkgs = true;
host = {
hostName = "t14";
inherit (attrs) username;
};
};
modules = [
./t14/home.nix
./home.nix
];
};
"minimal" = inputs.home-manager.lib.homeManagerConfiguration {
pkgs = mkPkgs "x86_64-linux";
extraSpecialArgs = {
inherit inputs attrs;
targets.genericLinux.enable = true;
useGlobalPkgs = true;
host = {
hostName = "e";
inherit (attrs) username;
};
};
modules = [ ./home.nix ];
};
}