https://github.com/codgician/azure-aarch64-nixos
👀 Flake for testing changes made for NixOS on Azure aarch64
https://github.com/codgician/azure-aarch64-nixos
Last synced: 12 months ago
JSON representation
👀 Flake for testing changes made for NixOS on Azure aarch64
- Host: GitHub
- URL: https://github.com/codgician/azure-aarch64-nixos
- Owner: codgician
- License: mit
- Created: 2024-08-09T06:16:56.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-02T08:14:19.000Z (over 1 year ago)
- Last Synced: 2025-02-02T09:21:47.926Z (over 1 year ago)
- Language: Nix
- Size: 28.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NixOS on Azure aarch64
[](https://garnix.io/repo/codgician/azure-aarch64-nixos)
This is a test flake for NixOS on Azure for [nixos/nixpkgs: PR #359365](https://github.com/NixOS/nixpkgs/pull/359365).
## Quick start
This flake contains NixOS configuration for both x86_64 and aarch64 on Azure:
* azure-aarch64: Gen 2 VM for aarch64, using systemd-boot
* azure-x86: Gen 2 VM for x86_64, using systemd-boot
* azure-aarch64-legacy: Gen 1 VM for aarch64 **(not officially supported by Azure)**
* azure-x86-legacy: Gen 1 VM for x86_64
* azure-aarch64-grub: Gen 2 VM for aarch64, using grub
* azure-x86-grub: Gen 2 VM for x86_64, using grub
To generate VHD for aarch64 Gen 2 VM (on aarch64 machine):
```bash
nix build --accept-flake-config .#azure-aarch64
```
... and the resulting vhd could be found under: `./result/disk.vhd`.
Default username and password are both `nixos`.