nixos/README.md
2022-12-05 20:32:39 +01:00

1.4 KiB

nixos-config built with nix

This repository holds my NixOS configuration. It is fully reproducible, flakes based, and position-independent, meaning there is no moving around of configuration.nix.

Deployment is done using deploy-rs, see usage. Secret are managed using sops-nix. For formatting pre-commit-hooks is used.

structure

.
├── modules      # Own nix-options, to modularize services/hardware/...
├── machines     # Machine definitions
└── pkgs         # Own packages, which are not available in nixpkgs

usage

updating:

nix flake update

deployment:

deploy .#myHost

secrets:

sops ./machines/myHost/secrets.yaml

inspired by