-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
61 additions
and
4 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Build and Release ISOs | ||
name: Release CI | ||
|
||
on: | ||
push: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: Test CI | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Check out the repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install Nix | ||
uses: DeterminateSystems/nix-installer-action@main | ||
|
||
- name: Build the flake | ||
run: nix build .#nixosConfigurations.installer.config.system.build.isoImage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,42 @@ | ||
# installer | ||
| Custom NixOS installer builds for faster initialization | ||
<p align="center"> | ||
<img src=".github/assets/header.png" alt="Kolyma's {Installer}"> | ||
</p> | ||
|
||
<p align="center"> | ||
<h3 align="center">NixOS images created with Kolyma's specifications.</h3> | ||
</p> | ||
|
||
<p align="center"> | ||
<img align="center" src="https://img.shields.io/github/languages/top/orzklv/nix?style=flat&logo=nixos&logoColor=ffffff&labelColor=242424&color=242424" alt="Top Used Language"> | ||
<a href="https://github.com/orzklv/nix/actions/workflows/test.yml"><img align="center" src="https://img.shields.io/github/v/release/kolyma-labs/installer?style=flat&logo=github&logoColor=ffffff&labelColor=242424&color=242424" alt="Release"></a> | ||
<a href="https://github.com/orzklv/nix/actions/workflows/test.yml"><img align="center" src="https://img.shields.io/github/actions/workflow/status/orzklv/nix/test.yml?style=flat&logo=github&logoColor=ffffff&labelColor=242424&color=242424" alt="Test CI"></a> | ||
</p> | ||
|
||
# About | ||
|
||
When bootstrapping NixOS on a new server machine, using nixos-anywhere itself becomes a bit of a hassle. This repository aims to provide a simple way to create NixOS images with Kolyma's specifications whereas you may write images to attached usb sticks which will later be booted first upon failed main system boot. | ||
|
||
## Features | ||
|
||
- Minimal NixOS installation | ||
- Ready ssh & root password | ||
|
||
## Download | ||
|
||
You can download the latest release from the [releases page](https://github.com/kolyma-labs/installer/releases). | ||
|
||
## Burning the image | ||
|
||
If you have physical access to your server machine, just use etcher. If you are using a remote server, you can use `dd` to write the image to a usb stick: | ||
|
||
```bash | ||
dd if=\<image\> of=/dev/sdX bs=4M status=progress oflag=sync | ||
``` | ||
|
||
## License | ||
|
||
This project is licensed under the MIT License - see the [LICENSE](license) file for details. | ||
|
||
<p align="center"> | ||
<img src=".github/assets/footer.png" alt="Kolyma's {Installer}"> | ||
</p> |