fix some macos stuff
This commit is contained in:
parent
cdddac8d26
commit
78cc91f4fe
3 changed files with 21 additions and 1 deletions
|
|
@ -22,6 +22,7 @@
|
|||
'';
|
||||
}))
|
||||
git
|
||||
swiftpm
|
||||
];
|
||||
|
||||
nyxs-nix.services = {
|
||||
|
|
@ -38,6 +39,22 @@
|
|||
nixpkgs.config.allowUnfree = true;
|
||||
nix.settings.extra-platforms = [ "x86_64-darwin" "aarch64-darwin" ];
|
||||
|
||||
nix.settings.trusted-users = [ "@admin" "nyxerinys" ];
|
||||
nix.linux-builder = {
|
||||
enable = true;
|
||||
ephemeral = true;
|
||||
maxJobs = 4;
|
||||
config = {
|
||||
virtualisation = {
|
||||
darwin-builder = {
|
||||
diskSize = 50 * 1024;
|
||||
memorySize = 16 * 1024;
|
||||
};
|
||||
cores = 6;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# Necessary for using flakes on this system.
|
||||
nix.settings.experimental-features = "nix-command flakes";
|
||||
# Used for backwards compatibility, please read the changelog before changing.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue