Home

Awesome

NixOS

Build customized NixOS LiveCD ISO Nix Flake Check Release status

This repo is deprecated. See my new config at flake

A fully automated replicable nixos configuration flake that provides re-usable modules, and pre-configured system configuration.

CI Channel

Features

How do I install pre-configured system configuration?

Download and boot in customized LiveCD, and then:

sudo install-script

Follow the instructions and there you go. Above installation script will automatically install ThinkPad X1 Carbon 7th Gen specified configuration, but it should be fine for modern laptops.

Notes

If you are on a NVMe SSD, use sudo install-script -n instead.

If you are outside of Mainland China, please edit the configuration.nix to use official binary cache only instead of TUNA's. You may also need to adapt the binaryCaches setting in system/options.nix to your own network.

See wiki page for details.

Security details

As for me, I am on my best to ensure that the system is convenient to use and secure. But here are some concerns:

How do I re-use parts of it?

I have kept "stealing" in mind while I am writing the whole configuration. Use nix flake show 'github:LEXUGE/nixos' to see what are available. For example,

github:LEXUGE/nixos/dd59c772a9bd0503da3c775427bbfed64d6dfc61
│   ├───ash-profile: NixOS module
│   └───x-os: NixOS module

CI

I use GitHub Actions here to build LiveCD actions third times a week (with all flake inputs up-to-date). This means by using the latest ISO image, you are likely to copy a trunk of stuff directly from CD (which is good because you don't need to download them!). After every successful build, my telegram bot would post newly-built release to the CI telegram channel. To save storage that others could otherwise use, only last three images are kept.

See also

Acknowledgments

Thanks to following repositories: