My NixOS configuration files.
|
||
---|---|---|
.git-crypt | ||
common | ||
extra | ||
machines | ||
modules | ||
pkgs | ||
secrets | ||
services | ||
system | ||
.build.yml | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
.prettierignore | ||
.prettierrc.json | ||
.sops.yaml | ||
.stylua.toml | ||
flake.lock | ||
flake.nix | ||
LICENSE | ||
README.md | ||
statix.toml |
My nixOS configuration
Structure
-
common
: Contains configuration that should be applied on every machine. -
extra
: Non-Nix files, e.g. configuration files for other applications. -
machines
: Host-specific configuration.-
back
: Primary backup machine. -
fort
: Public-reachable server on Hetzner infra. -
tank
: Homelab server. -
trek
: Framework laptop. -
zero
: Main Ryzen 9 workstation.
-
-
modules
: Additional NixOS modules. -
pkgs
: Custom packages. -
secrets
: Secrects encrypted using git-crypt. -
services
: Configuration for bigger service deployments, e.g. nginx. -
system
: Configurations describing "classes" of machines, like servers or desktops. -
system/home-manager
: home-manager configuration.
Hacking
nix develop
will provide an ephemeral shell with all tools needed.
License
The code is released into the public domain.