Created
July 21, 2024 22:23
-
-
Save remi-gelinas/aa5089143313dc602b0cbb505f0533c7 to your computer and use it in GitHub Desktop.
lix-main-aarch64-darwin-repro
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
outputs = | |
{ | |
nix-darwin, | |
rosetta, | |
... | |
}: | |
{ | |
darwinConfigurations.repro = nix-darwin.lib.darwinSystem { | |
system = "aarch64-darwin"; | |
modules = builtins.attrValues rosetta.darwinModules ++ [ | |
( | |
{ pkgs, ... }: | |
{ | |
environment.systemPackages = [ pkgs.nix ]; | |
users.users.repro = { | |
email = "test"; | |
name = "test"; | |
fullName = "test"; | |
}; | |
nix-homebrew.user = "repro"; | |
} | |
) | |
]; | |
}; | |
}; | |
inputs = { | |
rosetta.url = "github:remi-gelinas/rosetta/remi-gelinas/random-bullshit-go"; | |
nix-darwin.url = "github:LnL7/nix-darwin"; | |
nix-darwin.inputs.nixpkgs.follows = "nixpkgs"; | |
nixpkgs.url = "github:NixOS/nixpkgs?rev=3eaeaeb6b1e08a016380c279f8846e0bd8808916"; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment