My NixOS configurations, using flakes.
Name | Description |
---|---|
assets | Resources used throughout the system (images etc.) |
config | NixOS configuration |
hosts | Host-specific |
lib | Internal library functions / helpers |
modules | Internal and shared modules, used throughout config |
parts | Modularized flake outputs, powered by flake-parts |
My configuration is structured based on the following principles:
- Hosts should be the main entry points and outputs.
- Abstractions should be avoided as much as possible.
- Setting up theming should be as simple as changing one or two options.
The main configuration can be found in config, which declares most of my programs and services.
My hosts can then pick and choose the programs and configurations that they need from the different files, (which can be found in hosts/default.nix).
People / repositories I have copied / learned from:
- fufexan/dotfiles for the configuration structure
- jacekpoz/nixos for learning how NixOS modules work
- sodiboo for helping me a whole lot with Niri-specific issues
- llakala for being very thorough and helpful when cleaning up my code and general structure.
- Lunarnovaa for her hjem configuration and functions, that I used when switching away from home-manager, and for being a great person.
- NotAShelf for providing a comprehensive archive repo, nyx who helped me transition to flake-parts.
Some bits have also been borrowed from within the configuration, and credit has been given where its due.