From 82f147949db403d79ad08d640a3da3876176c475 Mon Sep 17 00:00:00 2001 From: Jacob Hinkle Date: Wed, 31 Aug 2022 12:03:58 -0400 Subject: [PATCH] Update 'README.md' --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fe9156a..2918d05 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,8 @@ -# To update system. +# NixOS configurations + +This repo holds my settings for a laptop and a home server, along with a shared user config that is present on each machine. + +## To update system. Run `nixos-rebuild switch --flake .#` @@ -8,6 +12,6 @@ You can specify the name of the system to use if you don't have it set up yet, f nixos-rebuild switch --flake .#buck ``` -# Secrets +## Secrets We use [sops-nix](https://github.com/Mic92/sops-nix). All secrets are in `secrets.yaml`. Follow the instructions to add new machines in order to edit secrets, then use `sops secrets.yaml` to view and change the secrets (from an existing machine/user that is already a recipient of the file). Note that you can use the `--add-age` or `--add-pgp` arguments to sops to add more recipients to an existing file, and that _you must do this for both your editing user and the host machine_ if you are setting up a new machine.