Charlotte 🦝 Delenk
67a96de14f
Some checks failed
Hydra checks.x86_64-linux.containers-default Hydra build #25737 of nixos-config:pr618:checks.x86_64-linux.containers-default
Hydra nixosConfigurations.container-default-x86_64-linux Hydra build #25741 of nixos-config:pr618:nixosConfigurations.container-default-x86_64-linux
Hydra packages.x86_64-linux.art-lotte Hydra build #25756 of nixos-config:pr618:packages.x86_64-linux.art-lotte
Hydra packages.aarch64-linux.art-lotte-bgs-nsfw Hydra build #25748 of nixos-config:pr618:packages.aarch64-linux.art-lotte-bgs-nsfw
Hydra packages.riscv64-linux.art-lotte Hydra build #25752 of nixos-config:pr618:packages.riscv64-linux.art-lotte
Hydra packages.aarch64-linux.art-lotte Hydra build #25747 of nixos-config:pr618:packages.aarch64-linux.art-lotte
Hydra packages.x86_64-linux.art-lotte-bgs-nsfw Hydra build #25757 of nixos-config:pr618:packages.x86_64-linux.art-lotte-bgs-nsfw
Hydra packages.riscv64-linux.art-lotte-bgs-sfw Hydra build #25754 of nixos-config:pr618:packages.riscv64-linux.art-lotte-bgs-sfw
Hydra nixosConfigurations.not522 Hydra build #25742 of nixos-config:pr618:nixosConfigurations.not522
Hydra nixosConfigurations.thinkrac Hydra build #25746 of nixos-config:pr618:nixosConfigurations.thinkrac
Hydra nixosConfigurations.pc-installer Hydra build #25744 of nixos-config:pr618:nixosConfigurations.pc-installer
Hydra nixosConfigurations.rainbow-resort Hydra build #25745 of nixos-config:pr618:nixosConfigurations.rainbow-resort
Hydra nixosConfigurations.not522-installer Hydra build #25743 of nixos-config:pr618:nixosConfigurations.not522-installer
Hydra packages.aarch64-linux.art-lotte-bgs-sfw Hydra build #25749 of nixos-config:pr618:packages.aarch64-linux.art-lotte-bgs-sfw
Hydra packages.aarch64-linux.kodi-joyn Hydra build #25750 of nixos-config:pr618:packages.aarch64-linux.kodi-joyn
Hydra packages.x86_64-linux.kodi-joyn Hydra build #25759 of nixos-config:pr618:packages.x86_64-linux.kodi-joyn
Hydra packages.x86_64-linux.package-updater Hydra build #25760 of nixos-config:pr618:packages.x86_64-linux.package-updater
Hydra nixosConfigurations.container-default-aarch64-linux Hydra build #25739 of nixos-config:pr618:nixosConfigurations.container-default-aarch64-linux
Hydra devShells.x86_64-linux.default Hydra build #25738 of nixos-config:pr618:devShells.x86_64-linux.default
Hydra packages.aarch64-linux.package-updater Hydra build #25751 of nixos-config:pr618:packages.aarch64-linux.package-updater
Hydra packages.x86_64-linux.art-lotte-bgs-sfw Hydra build #25758 of nixos-config:pr618:packages.x86_64-linux.art-lotte-bgs-sfw
Hydra packages.riscv64-linux.art-lotte-bgs-nsfw Hydra build #25753 of nixos-config:pr618:packages.riscv64-linux.art-lotte-bgs-nsfw
30 lines
943 B
Nix
30 lines
943 B
Nix
{
|
|
nixos-config,
|
|
config,
|
|
pkgs,
|
|
nixpkgs,
|
|
...
|
|
}:
|
|
{
|
|
networking.hostName = "not522-installer";
|
|
imports = [
|
|
"${nixos-config}/config"
|
|
"${nixos-config}/machine/not522/hardware.nix"
|
|
"${nixos-config}/machine/not522/cross-packages.nix"
|
|
./disko.nix
|
|
"${nixpkgs}/nixos/modules/profiles/minimal.nix"
|
|
];
|
|
|
|
system.stateVersion = config.system.nixos.version;
|
|
|
|
#environment.etc."system/not522".source = "${nixos-config.nixosConfigurations.not522.config.system.build.toplevel}";
|
|
#environment.etc."system/not522-disko".source = "${nixos-config.nixosConfigurations.not522.config.system.build.diskoScript}";
|
|
|
|
environment.systemPackages = [
|
|
(pkgs.writeShellScriptBin "install-nixos-unattended" ''
|
|
set -eux
|
|
exec ${pkgs.disko}/bin/disko-install --flake "${nixos-config}#not522" --disk main "${nixos-config.nixosConfigurations.not522.config.disko.devices.disk.main.device}"
|
|
'')
|
|
];
|
|
isInstaller = true;
|
|
}
|