From 33f1f560010ab94ff712c31b8fc8165c10dd89b9 Mon Sep 17 00:00:00 2001 From: caem Date: Sat, 18 Jan 2025 15:58:34 +0100 Subject: [PATCH] moar progression --- README.md | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4981fdc..385bd29 100644 --- a/README.md +++ b/README.md @@ -41,8 +41,29 @@ creation_rules: EOF ``` -?. Update the submodule to use your secrets repository. +6. Create a password file for your user. ```sh +mkpasswd | wl-copy # if you're on x11, replace `wl-copy` with `xclip -sel clipboard` +sops .yaml +``` +Where `` is the user set to be used in `flake.nix`. + +Then edit the file to look like this. +```yaml +user_password: +``` + +7. Commit and push your changes. +```sh +git remote add origin git@example.com:example/secrets +git add . +git commit -m "batman" +git push --set-upstream origin master +``` + +8. Update the submodule to use your secrets repository. +```sh +cd git submodule set-url -- secrets ```