nixos-config/machine/not522/default.nix
Charlotte 🦝 Delenk 062a739a0d
Some checks are pending
Hydra nixosConfigurations.not522 Hydra build #26850 of nixos-config:pr618:nixosConfigurations.not522
Hydra nixosConfigurations.oracle-installer Hydra build #26851 of nixos-config:pr618:nixosConfigurations.oracle-installer
Hydra nixosConfigurations.pc-installer Hydra build #26852 of nixos-config:pr618:nixosConfigurations.pc-installer
Hydra nixosConfigurations.rainbow-resort Hydra build #26853 of nixos-config:pr618:nixosConfigurations.rainbow-resort
Hydra nixosConfigurations.thinkrac Hydra build #26854 of nixos-config:pr618:nixosConfigurations.thinkrac
Hydra packages.aarch64-linux.element-web Hydra build #26847 of nixos-config:pr618:packages.aarch64-linux.element-web
Hydra packages.aarch64-linux.element-desktop Hydra build #26846 of nixos-config:pr618:packages.aarch64-linux.element-desktop
Hydra packages.x86_64-linux.element-web Hydra build #26849 of nixos-config:pr618:packages.x86_64-linux.element-web
Hydra packages.x86_64-linux.element-desktop Hydra build #26848 of nixos-config:pr618:packages.x86_64-linux.element-desktop
use cross compilation for riscv for now
2024-11-20 09:12:39 +01:00

25 lines
499 B
Nix

{
nixos-config,
nixpkgs,
...
}:
{
networking.hostName = "not522";
imports = [
"${nixos-config}/config"
./disko.nix
./hardware.nix
#./cross-packages.nix
"${nixpkgs}/nixos/modules/profiles/minimal.nix"
];
system.stateVersion = "24.11";
nixpkgs.config.allowUnsupportedSystem = true;
nix.settings.system-features = [
"native-riscv"
"big-parallel"
];
nixpkgs.crossSystem = {
config = "riscv64-unknown-linux-gnu";
system = "riscv64-linux";
};
}