force homemanager to be installed from flake (stupid nixos/nix-darwin not leting me import dynamically)

This commit is contained in:
nyxerinys 2026-10-03 22:21:44 -05:00
parent 31e8e6f462
commit c5db0903fa
5 changed files with 9 additions and 17 deletions

View file

@ -63,13 +63,6 @@
outputs = { self, nixpkgs, nix-darwin, home-manager, ... } @ inputs:
let
blades = import ./hosts/servers/blades/systems.nix { inherit inputs; };
homeConf = home-manager.darwinModules.home-manager {
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
# Pass the home.nix configuration to your specific user profile
home-manager.users."nyxerinys" = import ./modules/home/nyxerinys;
};
in
{
nixosConfigurations = {
@ -78,6 +71,7 @@
./hosts/base.nix
./hosts/apollo
./modules/home
home-manager.nixosModules.home-manager
];
specialArgs = { inherit inputs; };
};
@ -109,6 +103,7 @@
# ./hosts/base.nix
./hosts/artemis
./modules/home
home-manager.darwinModules.home-manager
];
specialArgs = { inherit inputs; };
};