nixos/README.md
2022-07-30 15:03:48 +02:00

1.2 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.

structure

.
├── modules      # Own nix-options, to modularize services
├── nixos        # Machine definitions
└── pgks         # Own packages, which are not available in nixpkgs

usage

updating:

nix flake update

deployment:

deploy .#myHost

secrets:

sops ./nixos/myHost/secrets.yaml

inspired by