⚠️ 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.
📚 Docs
Getting Started with NixOS Minimal
Keybindings Implemented by this Configuration
If you have questions you are welcome to 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?
-
A modular (opinionated) Configuration Structure
-
Flake templates - Quickly grab this configuration and make it your own with:
nix flake new -t github:erictossell/nixflakes ./<your-repo-name-here>
-
An interactive build script for adding new
hosts
/users
atsh/build.sh
-
eriixvim
- a fully reproducible neovim configuration built withnixvim
.
Try it out with:
nix run github:erictossell/eriixvim
- 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.
-
Semi up-to-date diagrams of the structure of this flake and the configurations managed by me.
-
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.
Generated Flake Information
Resolved URL: git+file:https:///home/runner/work/nixflakes/nixflakes?shallow=1
Locked URL: git+file:https:///home/runner/work/nixflakes/nixflakes?shallow=1
Description: Eriim's machine specific configuration flake.
Path: /nix/store/nxjsp1q9rj8hzqsvnwai89db5vkjh1gc-source
Revision: 0607c5e971a12e69a1bdce116a0eff6378156206-dirty
Last modified: 2024-07-25 20:27:12
Inputs:
├───NixOS-WSL: github:nix-community/NixOS-WSL/6686cbe947cb8b135e229ad2a3447b88d1cf6da9 (2024-07-22 12:21:47)
│ ├───flake-compat: github:edolstra/flake-compat/0f9255e01c2351cc7d116c072cb317785dd33b33 (2023-10-04 13:37:54)
│ ├───flake-utils: github:numtide/flake-utils/b1d9ab70662946ef0850d488da1c9019f3a9752a (2024-03-11 08:33:50)
│ │ └───systems: github:nix-systems/default/da67096a3b9bf56a91d16901293e51ba5b49a27e (2023-04-09 08:27:08)
│ └───nixpkgs follows input 'nixpkgs'
├───agenix: github:ryantm/agenix/de96bd907d5fbc3b14fc33ad37d1b9a3cb15edc6 (2024-07-09 17:30:05)
│ ├───darwin follows input ''
│ ├───home-manager: github:nix-community/home-manager/3bfaacf46133c037bb356193bd2f1765d9dc82c1 (2023-12-20 23:00:17)
│ │ └───nixpkgs follows input 'agenix/nixpkgs'
│ ├───nixpkgs follows input 'nixpkgs'
│ └───systems: github:nix-systems/default/da67096a3b9bf56a91d16901293e51ba5b49a27e (2023-04-09 08:27:08)
├───eriixpkgs: github:erictossell/eriixpkgs/a08a1aabd1d6e9bc4fa9ef49c0c9d83bb3ad92c6 (2024-07-21 00:24:27)
│ ├───eriixvim: github:erictossell/eriixvim/cd0eb4ba1d26dfc81ee622dc6a32bd3e29b5101b (2024-07-13 21:11:17)
│ │ ├───flake-parts: github:hercules-ci/flake-parts/9227223f6d922fee3c7b190b2cc238a99527bbb7 (2024-07-03 08:15:18)
│ │ │ └───nixpkgs-lib: https://github.com/NixOS/nixpkgs/archive/5daf0514482af3f97abaefc78a6606365c9108e2.tar.gz?narHash=sha256-Fm2rDDs86sHy0/1jxTOKB1118Q0O3Uc7EC0iXvXKpbI%3D (2024-07-01 23:35:45)
│ │ ├───nixpkgs: github:nixos/nixpkgs/7e7c39ea35c5cdd002cd4588b03a3fb9ece6fad9 (2024-07-12 07:14:11)
│ │ └───nixvim: github:nix-community/nixvim/06a44e9e8814ab13ea013e222637a497a50e96e4 (2024-07-13 19:20:51)
│ │ ├───devshell: github:numtide/devshell/1ebbe68d57457c8cae98145410b164b5477761f4 (2024-06-03 10:02:49)
│ │ │ ├───flake-utils: github:numtide/flake-utils/4022d587cbbfd70fe950c1e2083a02621806a725 (2023-12-04 08:58:27)
│ │ │ │ └───systems: github:nix-systems/default/da67096a3b9bf56a91d16901293e51ba5b49a27e (2023-04-09 08:27:08)
│ │ │ └───nixpkgs follows input 'eriixpkgs/eriixvim/nixvim/nixpkgs'
│ │ ├───flake-compat: https://api.flakehub.com/f/pinned/edolstra/flake-compat/1.0.1/018afb31-abd1-7bff-a5e4-cff7e18efb7a/source.tar.gz?narHash=sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U%3D (2023-10-04 13:37:54)
│ │ ├───flake-parts: github:hercules-ci/flake-parts/4e3583423212f9303aa1a6337f8dffb415920e4f (2024-07-01 23:44:14)
│ │ │ └───nixpkgs-lib follows input 'eriixpkgs/eriixvim/nixvim/nixpkgs'
│ │ ├───git-hooks: github:cachix/git-hooks.nix/0ff4381bbb8f7a52ca4a851660fc7a437a4c6e07 (2024-06-24 20:12:25)
│ │ │ ├───flake-compat follows input 'eriixpkgs/eriixvim/nixvim/flake-compat'
│ │ │ ├───gitignore: github:hercules-ci/gitignore.nix/637db329424fd7e46cf4185293b9cc8c88c95394 (2024-02-28 02:28:52)
│ │ │ │ └───nixpkgs follows input 'eriixpkgs/eriixvim/nixvim/git-hooks/nixpkgs'
│ │ │ ├───nixpkgs follows input 'eriixpkgs/eriixvim/nixvim/nixpkgs'
│ │ │ └───nixpkgs-stable follows input 'eriixpkgs/eriixvim/nixvim/nixpkgs'
│ │ ├───home-manager: github:nix-community/home-manager/59ce796b2563e19821361abbe2067c3bb4143a7d (2024-07-01 09:50:39)
│ │ │ └───nixpkgs follows input 'eriixpkgs/eriixvim/nixvim/nixpkgs'
│ │ ├───nix-darwin: github:lnl7/nix-darwin/ec12b88104d6c117871fad55e931addac4626756 (2024-07-01 14:50:23)
│ │ │ └───nixpkgs follows input 'eriixpkgs/eriixvim/nixvim/nixpkgs'
│ │ ├───nixpkgs: github:NixOS/nixpkgs/00d80d13810dbfea8ab4ed1009b09100cca86ba8 (2024-07-01 15:47:52)
│ │ └───treefmt-nix: github:numtide/treefmt-nix/bdb6355009562d8f9313d9460c0d3860f525bc6c (2024-07-02 02:35:53)
│ │ └───nixpkgs follows input 'eriixpkgs/eriixvim/nixvim/nixpkgs'
│ ├───flake-utils: github:numtide/flake-utils/b1d9ab70662946ef0850d488da1c9019f3a9752a (2024-03-11 08:33:50)
│ │ └───systems: github:nix-systems/default/da67096a3b9bf56a91d16901293e51ba5b49a27e (2023-04-09 08:27:08)
│ ├───go-time: github:erictossell/go-time/f6fde276a99e8f19ed1e3d5b0f4946383eb4bc35 (2024-07-14 13:24:29)
│ │ └───nixpkgs: github:NixOS/nixpkgs/7e7c39ea35c5cdd002cd4588b03a3fb9ece6fad9 (2024-07-12 07:14:11)
│ ├───homepage-nix: github:erictossell/homepage-nix/540adeb9f307826c9bdd1b047a8b4467160709a4 (2024-07-05 04:49:49)
│ │ ├───naersk: github:nix-community/naersk/941ce6dc38762a7cfb90b5add223d584feed299b (2024-06-18 16:21:15)
│ │ │ └───nixpkgs: path:/nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source?lastModified=0&narHash=sha256-rwz8NJZV%2B387rnWpTYcXaRNvzUSnnF9aHONoJIYmiUQ%3D (1970-01-01 00:00:00)
│ │ ├───nixpkgs: github:NixOS/nixpkgs/1afc5440469f94e7ed26e8648820971b102afdc3 (2024-07-04 10:07:58)
│ │ └───utils: github:numtide/flake-utils/b1d9ab70662946ef0850d488da1c9019f3a9752a (2024-03-11 08:33:50)
│ │ └───systems: github:nix-systems/default/da67096a3b9bf56a91d16901293e51ba5b49a27e (2023-04-09 08:27:08)
│ ├───nixpkgs follows input 'nixpkgs'
│ ├───readme-py: github:erictossell/readme-py/900a4f892d192687ab8d29b23a1c6bc29a0361c0 (2024-07-21 00:13:08)
│ │ ├───flake-utils: github:numtide/flake-utils/b1d9ab70662946ef0850d488da1c9019f3a9752a (2024-03-11 08:33:50)
│ │ │ └───systems: github:nix-systems/default/da67096a3b9bf56a91d16901293e51ba5b49a27e (2023-04-09 08:27:08)
│ │ ├───nixpkgs: github:NixOS/nixpkgs/1d9c2c9b3e71b9ee663d11c5d298727dace8d374 (2024-07-19 09:00:53)
│ │ └───poetry2nix: github:nix-community/poetry2nix/d11c01e58587e5f21037ed6477465a7f26a32e27 (2024-07-15 10:37:54)
│ │ ├───flake-utils: github:numtide/flake-utils/b1d9ab70662946ef0850d488da1c9019f3a9752a (2024-03-11 08:33:50)
│ │ │ └───systems: github:nix-systems/default/da67096a3b9bf56a91d16901293e51ba5b49a27e (2023-04-09 08:27:08)
│ │ ├───nix-github-actions: github:nix-community/nix-github-actions/5163432afc817cf8bd1f031418d1869e4c9d5547 (2023-12-29 15:30:25)
│ │ │ └───nixpkgs follows input 'eriixpkgs/readme-py/poetry2nix/nixpkgs'
│ │ ├───nixpkgs follows input 'eriixpkgs/readme-py/nixpkgs'
│ │ ├───systems: github:nix-systems/default/da67096a3b9bf56a91d16901293e51ba5b49a27e (2023-04-09 08:27:08)
│ │ └───treefmt-nix: github:numtide/treefmt-nix/8df5ff62195d4e67e2264df0b7f5e8c9995fd0bd (2024-06-30 12:03:42)
│ │ └───nixpkgs follows input 'eriixpkgs/readme-py/poetry2nix/nixpkgs'
│ └───russh: github:erictossell/russh/45da95e1260fe25cd7145a23e4111d84b5b8ef7f (2024-07-05 04:45:21)
│ ├───naersk: github:nix-community/naersk/941ce6dc38762a7cfb90b5add223d584feed299b (2024-06-18 16:21:15)
│ │ └───nixpkgs: path:/nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source?lastModified=0&narHash=sha256-rwz8NJZV%2B387rnWpTYcXaRNvzUSnnF9aHONoJIYmiUQ%3D (1970-01-01 00:00:00)
│ ├───nixpkgs: github:NixOS/nixpkgs/1afc5440469f94e7ed26e8648820971b102afdc3 (2024-07-04 10:07:58)
│ └───utils: github:numtide/flake-utils/b1d9ab70662946ef0850d488da1c9019f3a9752a (2024-03-11 08:33:50)
│ └───systems: github:nix-systems/default/da67096a3b9bf56a91d16901293e51ba5b49a27e (2023-04-09 08:27:08)
├───home-manager: github:nix-community/home-manager/635563f245309ef5320f80c7ebcb89b2398d2949 (2024-07-21 03:59:25)
│ └───nixpkgs follows input 'nixpkgs'
├───hyprland: git+https://github.com/hyprwm/Hyprland?ref=refs/heads/main&rev=3c758db95c129ed6ca7ce0c1b5b82ad6e189488d&submodules=1 (2024-07-22 21:36:58)
│ ├───aquamarine: github:hyprwm/aquamarine/601f6cf95cbe4fef02dc7faf34bba58566c914e9 (2024-07-21 14:22:23)
│ │ ├───hyprutils follows input 'hyprland/hyprutils'
│ │ ├───hyprwayland-scanner follows input 'hyprland/hyprwayland-scanner'
│ │ ├───nixpkgs follows input 'hyprland/nixpkgs'
│ │ └───systems follows input 'hyprland/systems'
│ ├───hyprcursor: github:hyprwm/hyprcursor/4493a972b48f9c3014befbbf381ed5fff91a65dc (2024-07-18 19:19:31)
│ │ ├───hyprlang follows input 'hyprland/hyprlang'
│ │ ├───nixpkgs follows input 'hyprland/nixpkgs'
│ │ └───systems follows input 'hyprland/systems'
│ ├───hyprlang: github:hyprwm/hyprlang/adbefbf49664a6c2c8bf36b6487fd31e3eb68086 (2024-07-18 17:39:21)
│ │ ├───hyprutils follows input 'hyprland/hyprutils'
│ │ ├───nixpkgs follows input 'hyprland/nixpkgs'
│ │ └───systems follows input 'hyprland/systems'
│ ├───hyprutils: github:hyprwm/hyprutils/962582a090bc233c4de9d9897f46794280288989 (2024-07-18 17:35:02)
│ │ ├───nixpkgs follows input 'hyprland/nixpkgs'
│ │ └───systems follows input 'hyprland/systems'
│ ├───hyprwayland-scanner: github:hyprwm/hyprwayland-scanner/a048a6cb015340bd82f97c1f40a4b595ca85cc30 (2024-07-18 17:35:19)
│ │ ├───nixpkgs follows input 'hyprland/nixpkgs'
│ │ └───systems follows input 'hyprland/systems'
│ ├───nixpkgs: github:NixOS/nixpkgs/1d9c2c9b3e71b9ee663d11c5d298727dace8d374 (2024-07-19 09:00:53)
│ ├───systems: github:nix-systems/default-linux/31732fcf5e8fea42e59c2488ad31a0e651500f68 (2023-07-14 15:19:09)
│ └───xdph: github:hyprwm/xdg-desktop-portal-hyprland/663be9cad424b170b28b9fa8a61042d721007f3b (2024-07-22 11:35:31)
│ ├───hyprland-protocols: github:hyprwm/hyprland-protocols/1b61f0093afff20ab44d88ad707aed8bf2215290 (2024-06-18 21:31:54)
│ │ ├───nixpkgs follows input 'hyprland/xdph/nixpkgs'
│ │ └───systems follows input 'hyprland/xdph/systems'
│ ├───hyprlang follows input 'hyprland/hyprlang'
│ ├───nixpkgs follows input 'hyprland/nixpkgs'
│ └───systems follows input 'hyprland/systems'
├───hyprlock: github:hyprwm/hyprlock/dba9d8b5175a6f23463035aafc6b0c741f9b73a5 (2024-07-21 12:00:28)
│ ├───hyprlang: github:hyprwm/hyprlang/adbefbf49664a6c2c8bf36b6487fd31e3eb68086 (2024-07-18 17:39:21)
│ │ ├───hyprutils follows input 'hyprlock/hyprutils'
│ │ ├───nixpkgs follows input 'hyprlock/nixpkgs'
│ │ └───systems follows input 'hyprlock/systems'
│ ├───hyprutils: github:hyprwm/hyprutils/962582a090bc233c4de9d9897f46794280288989 (2024-07-18 17:35:02)
│ │ ├───nixpkgs follows input 'hyprlock/nixpkgs'
│ │ └───systems follows input 'hyprlock/systems'
│ ├───nixpkgs follows input 'nixpkgs'
│ └───systems: github:nix-systems/default-linux/31732fcf5e8fea42e59c2488ad31a0e651500f68 (2023-07-14 15:19:09)
├───hyprpicker: github:hyprwm/hyprpicker/c36676ad0c08312ee07f061e210991f0176d6747 (2024-07-18 18:01:51)
│ ├───hyprutils: github:hyprwm/hyprutils/962582a090bc233c4de9d9897f46794280288989 (2024-07-18 17:35:02)
│ │ ├───nixpkgs follows input 'hyprpicker/nixpkgs'
│ │ └───systems follows input 'hyprpicker/systems'
│ ├───nixpkgs follows input 'nixpkgs'
│ └───systems: github:nix-systems/default-linux/31732fcf5e8fea42e59c2488ad31a0e651500f68 (2023-07-14 15:19:09)
└───nixpkgs: github:NixOS/nixpkgs/68c9ed8bbed9dfce253cc91560bf9043297ef2fe (2024-07-21 11:40:59)
git+file:https:///home/runner/work/nixflakes/nixflakes?shallow=1
├───devShells
│ └───x86_64-linux
│ └───default: development environment 'nix-shell'
├───formatter
│ └───x86_64-linux: package 'nixfmt-unstable-2024-07-12'
├───nixosConfigurations
│ ├───arkhitekton: NixOS configuration
│ ├───live-image: NixOS configuration
│ ├───terminus: NixOS configuration
│ ├───virtualis: NixOS configuration
│ ├───vm-temp: NixOS configuration
│ └───winix: NixOS configuration
└───templates
└───default: template: The default template for Eriim's nixflakes.