⚠️ I am not an authority onNix
orNixOS
. I am merely an apprentice, an Alice navigating the wonderland. At least for now.
So anyways. Here's my dots. I hope you like them.
There are many paths to the top of the mountain, but the view is always the same.
Getting Started with NixOS Minimal
Got questions? Send them in the form of an issue or reach me at any of my other points of contact available on my GitHub Profile - I make no guarantees but I'm happy to do my best.
1. A modular (opinionated) Configuration Structure
nix flake new -t github:erictossell/nixflakes ./<your-repo-name-here>
3. An interactive build script for adding new hosts
/users
at sh/build.sh
Try it out with:
nix run github:erictossell/eriixvim
5. A simple example of a custom built rust
package: russh
.
The highlight being how simple it is to package any application with flakes
and import them into a configuration
and not my rust
code.
6. Semi up-to-date diagrams of the structure of this flake and the configurations managed by me.
principium - My Desktop with full virtualisation capabilities.
sisyphus - My laptop as a default baseline for the flake.
live-image - Customized Installation Media
winix - My WSL `NixOS` configuration.
virtualis - A quick VM for testing.
ambiens - A formalized VM.
8. Nix CI/CD with Github Actions - Built with: Cachix - Install Nix, Determiniate Systems - Flake Check, stefanzweifel - Commit Action, statix, nixpkgs-fmt
Modules are grouped to be almost purely functional and as a result you will often find both the system configuration and the home-manager configuration in the same place. Not all NixOS users use this paradigm.
This repo has become more opinionated over time and now requires passing down variables from the flake.nix
in order to fetch appropriate host
and user
specific configurations for a given device.
Transparency is cool.
Input | Following |
---|---|
nixpkgs | nixos-unstable |
home-manager | following nixpkgs |
agenix | following nixpkgs |
hyprland | nixos-unstable |
eriixvim | nixos-unstable |
ruSSH: a simple SSH multiplier | nixos-unstable |