Fix profiles

This commit is contained in:
Joshua Yuen 2026-01-21 15:48:28 -05:00
parent eaedcbd5d6
commit a27e2495d3
Signed by: josh
GPG Key ID: 502720BC22ED411C
3 changed files with 7 additions and 2 deletions

View File

@ -43,6 +43,7 @@
specialArgs = { specialArgs = {
inherit inputs; inherit inputs;
inherit host; inherit host;
inherit profile;
inherit username; inherit username;
}; };
modules = [ modules = [
@ -55,6 +56,7 @@
specialArgs = { specialArgs = {
inherit inputs; inherit inputs;
inherit host; inherit host;
inherit profile;
inherit username; inherit username;
}; };
modules = [ modules = [
@ -68,11 +70,11 @@
homeConfigurations.${username} = home-manager.lib.homeManagerConfiguration { homeConfigurations.${username} = home-manager.lib.homeManagerConfiguration {
extraSpecialArgs = { extraSpecialArgs = {
inherit inputs; inherit inputs;
inherit profile;
inherit username; inherit username;
}; };
pkgs = nixpkgs.legacyPackages.${system}; pkgs = nixpkgs.legacyPackages.${system};
modules = [ modules = [
./profiles/${profile}
./homes/${username}/home.nix ./homes/${username}/home.nix
stylix.homeModules.stylix stylix.homeModules.stylix
]; ];

View File

@ -1,10 +1,12 @@
{ {
profile,
... ...
}: }:
{ {
imports = [ imports = [
../../modules/homes ../../modules/homes
../../modules/options ../../modules/options
../../profiles/${profile}
]; ];
modules.zsh.enable = true; modules.zsh.enable = true;

View File

@ -1,9 +1,10 @@
{ {
profile,
... ...
}: }:
{ {
imports = [ imports = [
../../profiles/desktop ../../profiles/${profile}
../../profiles/vm ../../profiles/vm
../../modules/core ../../modules/core
../../modules/options ../../modules/options