idiosyn/nixos/config/soy.nix
Mikael Voss b576c8e273
Some checks failed
nix flake check / check (aarch64-linux) (push) Has been cancelled
nix flake check / check (x86_64-linux) (push) Has been cancelled
Build with LLVM and musl
2024-11-16 17:31:59 +01:00

26 lines
508 B
Nix

{ self, nixos-hardware, ... }: { lib, config, pkgs, ... }: {
imports = with self.nixosModules; [
default
mimalloc
physical
graphical
wireless
];
boot = {
binfmt = {
emulatedSystems = [ "aarch64-linux" "x86_64-linux" ];
preferStaticEmulators = true;
};
};
nixpkgs = {
hostPlatform = {
system = "riscv64-linux";
config = "riscv64-unknown-linux-musl";
gcc.arch = "rv64imafdc";
useLLVM = true;
linker = "lld";
};
};
}