+3
-2
README.md
+3
-2
README.md
···
43
43
44
44
- General secrets are stored within the `secrets` directory.
45
45
- System specific secrets are stored within their respective `systems/<system_type>/<system_name>/secrets` directory.
46
+
- User secrets are stored within their respective `homes/<system_type>/<user_name>/secrets` directory.
46
47
47
48
The following command may be used to convert the SSH host key of a new machine to an age key:
48
49
···
66
67
nix-shell -p sops --run "sops -e original_file.cfg > secrets/encrypted_file.cfg"
67
68
```
68
69
69
-
Lastly, when adding new systems, make sure to update any required secret files with the following command:
70
+
Finally, when adding new systems, make sure to update any required secret files with the following command:
70
71
71
72
```sh
72
73
nix-shell -p sops --run "sops updatekeys secrets/example.yaml"
···
117
118
- Further refining my usage of the Nix language, through language best-practices and CLI dev tools.
118
119
119
120
## 🏗️ Structure
120
-
The structure this flake aims to build on is relatively simple to grasp.
121
+
This flake follows an opinionated directory structure, described below.
121
122
122
123
```
123
124
flake.nix --> The flake.