personal nixos config
Find a file
2023-03-13 22:22:03 +01:00
images images: init first own images 2023-03-12 18:50:22 +01:00
legacy legacy/media: add more comments 2023-03-12 19:07:35 +01:00
machines machine/serverle: enable nginx with separate network config 2023-02-23 20:03:49 +01:00
modules freshrss: update package 2023-03-13 22:22:03 +01:00
overlays freshrss: update package 2023-03-13 22:22:03 +01:00
pkgs pkgs/homer: 23.02.1 -> 23.02.2 2023-02-21 21:41:35 +01:00
profiles profile/powersave: init from legacy 2023-02-15 20:56:33 +01:00
.envrc fix direnv version & update flakes 2022-11-29 17:04:26 +01:00
.gitignore move to flakes with configurations for each device 2022-11-23 22:57:09 +01:00
flake.lock flake update 2023-03-10 21:41:53 +01:00
flake.nix images: init first own images 2023-03-12 18:50:22 +01:00
README.md update README 2023-03-10 21:41:41 +01:00

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. For image generation nixos-generators is used.

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

inspired by