2023-07-30 11:29:17 +03:00
|
|
|
{ config, pkgs, lib, ... }:
|
2023-07-28 15:39:50 +03:00
|
|
|
|
2023-07-30 11:30:16 +03:00
|
|
|
{
|
2023-08-19 11:06:28 +03:00
|
|
|
config = lib.mkMerge [{
|
|
|
|
nixpkgs.config.allowUnfree = true;
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
rustc
|
|
|
|
cargo
|
|
|
|
rustup
|
|
|
|
vscode
|
|
|
|
clang
|
|
|
|
llvm
|
|
|
|
lld
|
|
|
|
python3Full
|
|
|
|
automake
|
|
|
|
autoconf
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
];
|
|
|
|
}
|
|
|
|
|
|
|
|
(lib.mkIf (!pkgs.stdenv.isAarch64) {boot.binfmt.emulatedSystems = [ "aarch64-linux" ];})
|
|
|
|
(lib.mkIf (!pkgs.stdenv.isx86_64) {boot.binfmt.emulatedSystems = [ "x86_64-linux" ];})
|
2023-07-28 15:39:50 +03:00
|
|
|
];
|
2023-08-19 11:06:28 +03:00
|
|
|
}
|