Skip to content

Commit

Permalink
Add aarch64 nixos output
Browse files Browse the repository at this point in the history
  • Loading branch information
josh committed Aug 19, 2024
1 parent 0bec2bf commit 60a913b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/src/building.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ build your own tarball instead of relying on a prebuilt one:
sudo nix run github:nix-community/NixOS-WSL#nixosConfigurations.default.config.system.build.tarballBuilder
```

For Arm-based PCs, run:

```sh
sudo nix run github:nix-community/NixOS-WSL#nixosConfigurations.aarch64.config.system.build.tarballBuilder
```

Or, if you want to build with local changes, run inside your checkout:

```sh
Expand Down
8 changes: 8 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,14 @@
];
};

aarch64 = nixpkgs.lib.nixosSystem {
system = "aarch64-linux";
modules = [
self.nixosModules.default
(config { })
];
};

modern = nixpkgs.lib.warn "nixosConfigurations.modern has been renamed to nixosConfigurations.default" default;

legacy = nixpkgs.lib.nixosSystem {
Expand Down

0 comments on commit 60a913b

Please sign in to comment.