Git Product home page Git Product logo

nix-iso's Introduction

NixOS ISO Configuration Repository

This repository contains configuration files for building a custom NixOS ISO. The ISO is based on the nixos-unstable repository and includes the latest Zen kernel (6.8+) with support for the latest filesystems, including bcachefs, btrfs, ext4.

Two types of ISO can be built:-

  • Graphical
  • Minimal

See different instructions below.

Getting Started

This guide assumes that you have nix setup in your system or/and are using NixOS.

To build the custom NixOS ISO, follow these steps:

  1. Clone this repository to your local machine.
  2. Navigate to the repository directory.
  3. Run the build command.
git clone https://github.com/JohnRTitor/nix-iso.git
cd nix-iso
  • For building full graphical ISO
nix build .#nixosConfigurations.nixos-iso.config.system.build.isoImage
  • For building minimal ISO
nix build .#nixosConfigurations.nixos-minimal.config.system.build.isoImage

Ensure that flakes and nix-command are enabled on the host system before building the ISO.

The resulting ISO image can be found in the ./result/iso/ directory.

License

The configuration files in this repository are licensed under the Apache 2.0 License. However, softwares used in conjunction with these configuration files are owned by their respective owners. Please ensure to comply with the licensing terms of all used software.

Contributing

Contributions to this repository are welcome. Please feel free to open an issue or submit a pull request.

Disclaimer

While every effort has been made to ensure these configuration files work as expected, they are provided "as is". Please use at your own risk.

Please note that this guide assumes you have a basic understanding of NixOS and the Nix package manager. If you are new to Nix or NixOS, you may want to check out the Nix manual for more information.

Now, the question is, why?...

A week ago, I had to make an ISO image to support bcachefs filesystem because official ISO releases back then did not have the latest kernel. I quickly looked up the docs, put together a shaky configuration to build it for myself. Have been using the system with Bcachefs since and it is chill af. Figured some people might be in a similar situation, so here we are...

I also provide minimal ISO builds via this repo (check Releases). May be outdated though by the time you are reading this, ping me up by creating an issue, I'll provide an updated release ASAP.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.