fix deprecation
This commit is contained in:
@@ -56,7 +56,6 @@
|
|||||||
inputs.nixpkgs.lib.genAttrs darwinHosts (
|
inputs.nixpkgs.lib.genAttrs darwinHosts (
|
||||||
hostname:
|
hostname:
|
||||||
inputs.darwin.lib.darwinSystem {
|
inputs.darwin.lib.darwinSystem {
|
||||||
system = "aarch64-darwin";
|
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
inherit inputs user hostname constants;
|
inherit inputs user hostname constants;
|
||||||
};
|
};
|
||||||
@@ -64,6 +63,7 @@
|
|||||||
inputs.home-manager.darwinModules.home-manager
|
inputs.home-manager.darwinModules.home-manager
|
||||||
inputs.nix-homebrew.darwinModules.nix-homebrew
|
inputs.nix-homebrew.darwinModules.nix-homebrew
|
||||||
{
|
{
|
||||||
|
nixpkgs.hostPlatform = "aarch64-darwin";
|
||||||
nixpkgs.overlays = overlays;
|
nixpkgs.overlays = overlays;
|
||||||
|
|
||||||
nix-homebrew = {
|
nix-homebrew = {
|
||||||
@@ -85,13 +85,13 @@
|
|||||||
inputs.nixpkgs.lib.genAttrs nixosHosts (
|
inputs.nixpkgs.lib.genAttrs nixosHosts (
|
||||||
hostname:
|
hostname:
|
||||||
inputs.nixpkgs.lib.nixosSystem {
|
inputs.nixpkgs.lib.nixosSystem {
|
||||||
system = "x86_64-linux";
|
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
inherit inputs user hostname constants;
|
inherit inputs user hostname constants;
|
||||||
};
|
};
|
||||||
modules = [
|
modules = [
|
||||||
inputs.home-manager.nixosModules.home-manager
|
inputs.home-manager.nixosModules.home-manager
|
||||||
{
|
{
|
||||||
|
nixpkgs.hostPlatform = "x86_64-linux";
|
||||||
nixpkgs.overlays = overlays;
|
nixpkgs.overlays = overlays;
|
||||||
}
|
}
|
||||||
./hosts/${hostname}
|
./hosts/${hostname}
|
||||||
|
|||||||
Reference in New Issue
Block a user