β οΈ 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.
Eriim's Nixflakes
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.
π What is in this repo?
modular (opinionated) Configuration Structure
1. A2. Flake templates - Quickly grab this configuration and make it your own with:
nix flake new -t github:erictossell/nixflakes ./<your-repo-name-here>
hosts
/users
at sh/build.sh
3. An interactive build script for adding new eriixvim
- a fully reproducible neovim configuration built with nixvim
.
4. Try it out with:
nix run github:erictossell/eriixvim
rust
package: russh
.
5. A simple example of a custom built The highlight being how simple it is to package any application with flakes
and import them into a configuration
and not my rust
code.
structure of this flake and the configurations managed by me.
6. Semi up-to-date diagrams of thenix flake show github:erictossell/nixflakes
7. github:erictossell/nixflakes/bbca96ce85416b025d652d752c87d3816b2bf8ad
ββββdevShells
β ββββx86_64-linux
β ββββdefault: development environment 'nix-shell'
ββββformatter
β ββββx86_64-linux: package 'nixpkgs-fmt-1.3.0'
ββββnixosConfigurations
β ββββambiens: NixOS configuration
β ββββlive-image: NixOS configuration
β ββββprincipium: NixOS configuration
β ββββsisyphus: NixOS configuration
β ββββvirtualis: NixOS configuration
β ββββwinix: NixOS configuration
ββββtemplates
ββββdefault: template: The default template for Eriim's nixflakes.
Nix CI/CD with Github Actions - Built with: Cachix - Install Nix, Determiniate Systems - Flake Check, stefanzweifel - Commit Action, statix, nixpkgs-fmt
8.Flake Structure
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.
Flake Github URLS
Transparency is cool.
Input | Following |
---|---|
nixpkgs | nixos-unstable |
home-manager | following nixpkgs |
NixOS-WSL | following nixpkgs |
agenix | following nixpkgs |
hyprland | nixos-unstable |
eriixpkgs | nixos-unstable |