Separate system from home-manager again

This commit is contained in:
Greg Hellings
2025-06-10 14:28:46 -05:00
parent 389a55d8bc
commit eecd6e6d5d
37 changed files with 277 additions and 284 deletions
+22 -22
View File
@@ -1,27 +1,26 @@
{ top, overlays, ... }:
rec {
greghellings =
{
overlays,
top,
...
}:
let
pkgs =
system:
(import top.nixunstable {
inherit system overlays;
config = {
allowUnfree = true;
allowUnfreePredicate = _: true;
};
});
ivr =
let
system = "x86_64-linux";
pkgs = (
import top.nixunstable {
inherit system overlays;
config = {
allowUnfree = true;
allowUnfreePredicate = _: true;
};
}
);
system = "aarch64-darwin";
in
top.hmunstable.lib.homeManagerConfiguration {
inherit pkgs;
pkgs = pkgs system;
modules = [
(import ../modules/nix-conf.nix {
inherit pkgs;
inherit (pkgs) lib;
cache = false;
})
../modules/nix-conf.nix
./home.nix
];
extraSpecialArgs = {
@@ -33,6 +32,7 @@ rec {
username = "gregory.hellings";
};
};
"gregory.hellings" = greghellings;
in
{
inherit ivr;
}