Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 500 Bytes

README.md

File metadata and controls

19 lines (14 loc) · 500 Bytes

Description

This repo defines NixOS configuration for my hosts.

Usage

Symlink the repo to /etc/nixos:

sudo ln -s $(realpath nixos-config) /etc/nixos

Deploy the configuration for given host using --flake:

sudo nixos-rebuild switch --flake '/etc/nixos#caspair'

If the hostname matches --flake is not necessary.

Secrets

Secrets are fetched encrypted using agenix with public Ed25519 keys of hosts.