tret
This commit is contained in:
@@ -0,0 +1 @@
|
|||||||
|
hosts/hakase/hardware-configuration.nix
|
||||||
|
|||||||
@@ -48,20 +48,22 @@
|
|||||||
args = mkArgs system; # Use the helper for common args
|
args = mkArgs system; # Use the helper for common args
|
||||||
in {
|
in {
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
desktop = lib.nixosSystem {
|
hakase = lib.nixosSystem {
|
||||||
inherit system;
|
inherit system;
|
||||||
specialArgs = args;
|
specialArgs = args;
|
||||||
modules = []; # Add your NixOS modules here
|
modules = [./hosts/hakase/configuration.nix]; # Add your NixOS modules here
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
homeConfigurations = {
|
homeConfigurations = {
|
||||||
# Assuming you want home-manager configurations for all default systems
|
# Assuming you want home-manager configurations for all default systems
|
||||||
desktop = home-manager.lib.homeManagerConfiguration {
|
hakase = home-manager.lib.homeManagerConfiguration {
|
||||||
pkgs = import nixpkgs {
|
pkgs = import nixpkgs {
|
||||||
inherit system;
|
inherit system;
|
||||||
extraSpecialArgs = args;
|
extraSpecialArgs = args;
|
||||||
};
|
};
|
||||||
modules = []; # Add your Home Manager modules here
|
modules = [
|
||||||
|
./home/hakase.nix
|
||||||
|
]; # Add your Home Manager modules here
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@@ -70,8 +72,6 @@
|
|||||||
darwinConfigurations = {
|
darwinConfigurations = {
|
||||||
macos = darwin.lib.darwinSystem {
|
macos = darwin.lib.darwinSystem {
|
||||||
system = "aarch64-darwin";
|
system = "aarch64-darwin";
|
||||||
# *** CRITICAL CHANGE HERE ***
|
|
||||||
# Pass the result of mkArgs, AND the mkArgs function itself
|
|
||||||
specialArgs = (mkArgs "aarch64-darwin") // {inherit mkArgs;};
|
specialArgs = (mkArgs "aarch64-darwin") // {inherit mkArgs;};
|
||||||
modules = [
|
modules = [
|
||||||
./hosts/macos/darwin.nix
|
./hosts/macos/darwin.nix
|
||||||
|
|||||||
Reference in New Issue
Block a user