Updated docs

This commit is contained in:
rasmus-kirk
2024-08-08 10:16:31 +02:00
parent dd769cce96
commit 7ef3d63f5c
17 changed files with 153 additions and 151 deletions
+5 -5
View File
@@ -8,7 +8,7 @@ config in `/nix/store` somewhere (_Not good!_). The way to solve this is to
keep your secrets in files and pass these to nix. Below, I will present two
ways of accomplishing this.
**Warning:** Do _not_ let secrets live in your configuration directory either!
> **Warning:** Do _not_ let secrets live in your configuration directory either!
## The simple way
@@ -37,10 +37,10 @@ And set the accompanying Nixarr option:
};
```
**Note:** This is "impure", meaning that since the file is not part of the nix
store, a nixos rollback will not restore a previous secret (not a big problem
if the secrets are not changed often). This also means you have to rebuild Nixos
using the `--impure` flag set.
> **Note:** This is "impure", meaning that since the file is not part of the nix
> store, a nixos rollback will not restore a previous secret (not a big problem
> if the secrets are not changed often). This also means you have to rebuild Nixos
> using the `--impure` flag set.
## Agenix - A Path to Purity