feat: Set up secrets.nix and secret editing
This commit is contained in:
parent
fd9a5e5f84
commit
820b6b523b
2 changed files with 15 additions and 0 deletions
4
Justfile
4
Justfile
|
@ -70,6 +70,10 @@ genFirefoxAddons:
|
|||
overlays/firefox-addons/addons.json \
|
||||
overlays/firefox-addons/addons.nix
|
||||
|
||||
[group('maintainence')]
|
||||
secret name:
|
||||
cd secrets && agenix -e {{name}}.age && cd -
|
||||
|
||||
alias s := search
|
||||
search this:
|
||||
nh search {{this}}
|
||||
|
|
11
secrets/secrets.nix
Normal file
11
secrets/secrets.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
let
|
||||
# To allow editing of secrets.
|
||||
marley = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAk+purlXsZMEPDHSO+JDnDNtHB4OBlNThCyC6tIACfm marley@nyx";
|
||||
users = [marley];
|
||||
|
||||
nyx = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMgbXvNv4phFTrtVBJQWP/+HkKn14nkPUrIr5Vu2K1Zf root@nyx";
|
||||
marleycentre = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEA86DphSL36GsvatkXgFU1ONzt53UzXdUaQN1EBWeCD root@nixos";
|
||||
marleynet = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIArAAwU4JX7wa5X3Un3q5b+ZD52j0nCnNsGEybWf/7SB root@nixos";
|
||||
systems = [nyx marleycentre marleynet];
|
||||
in {
|
||||
}
|
Loading…
Reference in a new issue