This commit is contained in:
kenji
2025-07-07 13:47:08 -05:00
parent 4f3fe9be8b
commit ad40c37d1e
2 changed files with 7 additions and 6 deletions
+1
View File
@@ -0,0 +1 @@
hosts/hakase/hardware-configuration.nix
+6 -6
View File
@@ -48,20 +48,22 @@
args = mkArgs system; # Use the helper for common args
in {
nixosConfigurations = {
desktop = lib.nixosSystem {
hakase = lib.nixosSystem {
inherit system;
specialArgs = args;
modules = []; # Add your NixOS modules here
modules = [./hosts/hakase/configuration.nix]; # Add your NixOS modules here
};
};
homeConfigurations = {
# Assuming you want home-manager configurations for all default systems
desktop = home-manager.lib.homeManagerConfiguration {
hakase = home-manager.lib.homeManagerConfiguration {
pkgs = import nixpkgs {
inherit system;
extraSpecialArgs = args;
};
modules = []; # Add your Home Manager modules here
modules = [
./home/hakase.nix
]; # Add your Home Manager modules here
};
};
}
@@ -70,8 +72,6 @@
darwinConfigurations = {
macos = darwin.lib.darwinSystem {
system = "aarch64-darwin";
# *** CRITICAL CHANGE HERE ***
# Pass the result of mkArgs, AND the mkArgs function itself
specialArgs = (mkArgs "aarch64-darwin") // {inherit mkArgs;};
modules = [
./hosts/macos/darwin.nix