Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

200 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OysterOS Next (WIP)

Fast, safe, and stable NixOS distribution, but totally rewritten for better quality and long-term maintainability.

Currently, it is still WIP and will gradually become feature parity with the legacy branch!

Structure

Most basic things are basically kanged from nixverse, so you should feel familiar if you already know about that! I will list the actual implementations below to help you better understand the design of OysterOS.

  • Unified build-time flags: By gating globally reused but with little difference configs into flags (using mkOption!), OysterOS keeps copy-pasta codes away and improves the long-term maintainability of the whole repo. It is called prefstore and implemented in here.
  • Reusable by design: Most configs are highly optimized for reusability, so the Nix files themselves are basically the document. Feel free to borrow code snippets into your own config (for FREE! This repo is licensed under MIT).
  • Preview everything in VM: All systems are adapted to be running in VM, so you can preview your changes without fearing if it works or not! Just run nix run .#nixosConfigurations.<hostname>.config.system.build.vmWithDisko and see for yourself!

Nodes

Most of the nodes are self-explanatory, with the few exceptions that are intended to be shared across different groups of nodes.

By the way, most of nodes' names were coming from Octopath Traveler because I really love this RPG so much1 :).

Special group that contains the logic will be reused in every other type of node. Period.

General group for all nodes that are primarily used for servers.

General group for all nodes that are primarily used for workstations.

Stability & Bleeding Edge experience

Currently, all Orsterra nodes are opted in to the Ctrl-OS channel by default. This is a long-term NixOS branch with five-year support for 26.05, so I can run mission-critical tasks on these nodes and worry-free from time to time about ABI breaks! :)

However, all Solistia nodes are staying at nixos-unstable by design. They are intended to try newest features asap and may breaks from time to time.

Striking the balance between stability and shiny new objects can be a headache, but OysterOS choose to split different scenarios into different branches so that new features will not trigger nuclear war for me. LOL.

Footnotes

  1. I am not affiliated with SQUARE ENIX CO., LTD. All product names used herein are trademarks of their respective owners and are used for informational purposes only.

About

Next-gen personal / server OS hand-crafted by Bu Kun. Fast, Safe and Stable. Based on NixOS

Resources

Stars

5 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages