Rename and redescript some options, continue reducing my flake to dust

This commit is contained in:
Bun 2025-04-30 05:08:18 -04:00
parent 7976a8c9ec
commit 912fe5d454
10 changed files with 23 additions and 22 deletions

View file

@ -68,8 +68,9 @@
inherit modules;
specialArgs = inputs;
};
mkHome = modules: pkgs: hm.lib.homeManagerConfiguration {
inherit modules pkgs;
mkHome = modules: channel: arch: hm.lib.homeManagerConfiguration {
inherit modules;
pkgs = builtins.getAttr arch channel.legacyPackages;
extraSpecialArgs = inputs;
};
in {
@ -89,8 +90,8 @@
# nh home switch /path -c arch
homeConfigurations = {
x86 = mkHome [ ./modules/home ] stable.legacyPackages.x86_64-linux;
aarch = mkHome [ ./modules/home ] stable.legacyPackages.aarch64-linux;
x86 = mkHome [ ./modules/home ] stable "x86_64-linux";
aarch = mkHome [ ./modules/home ] stable "aarch64-linux";
};
};
}