mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-23 17:35:38 +02:00
1.7 KiB
1.7 KiB
nixos-config 
This repository holds my NixOS configuration.
It is fully reproducible, flakes based, and position-independent, meaning there is no moving around of configuration.nix
.
used flakes:
- image generation: nixos-generators
- disk formatting: disko
- secrets: sops-nix
- deployment: deploy-rs, see usage
- formatting: pre-commit-hooks
structure
.
├── images # custom image generations
├── machines # machine definitions
├── modules # own nix-options, to modularize services/hardware/...
├── overlays # overlays
├── pkgs # own packages, which are not available in nixpkgs
└── profiles # summarize module collections into single options
usage
updating:
nix flake update
deployment:
deploy .#myHost
secrets:
sops ./machines/myHost/secrets.yaml
images:
nix build .#install-iso
nix build .#aarch64-install --system aarch64-linux