-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
20 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,10 @@ | |
|
||
Personal collection of NixOS machines. | ||
|
||
## Deploying | ||
|
||
### Cache | ||
|
||
```bash | ||
nixos-rebuild switch --flake .#cache-vultr --target-host "[email protected]" | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
age-encryption.org/v1 | ||
-> ssh-ed25519 560D6A UKOA/TvKHFxldtH6gldodJ2IFKnWWcl9+kR9h8mSuhw | ||
nRs7n8HYIW+KTHOPXIEmdM6oFlU98q4GFittSwz6e+I | ||
-> <-grease `X | ||
/1YjaM0zK1N2Scx6lE+DPDiwRA | ||
--- seWSpt2EiH2YEslI4s3W3m7NcJnUByY/dg25gsFe3eM | ||
FZCg��T����s�x^�g�)�kgܑ��h6�{�V"�.����zS�H�|��~��*tX% | ||
NpJ�M��k�~?�X�S�ս�*3}m���>��QC���I�;�1M��K@���si�C27��gՀ� | ||
-> ssh-ed25519 560D6A FI/Kd4cA+QXxCIXFalAuGYA5rlaE81E/kLxmbZ0hrAc | ||
ScXG4wu1InrX2LIdoiils/vZsmkS5Ff84caS9pNPEpE | ||
-> Jp-A;k,g-grease Uwr._)! 7}pNZ*=T fPWGGWK f<]apqV8 | ||
ryX4Ag3/XAA3cN31fc3wjoxsLjHhaZZBtKotPOIDkcQ6 | ||
--- K6VMrrF+7TbbyeM90iBufesI7bzI8nKmdouROYRUsck | ||
�-�mVc���<���hp�e<T��j��'^���O�U�5�#���ԫ��x� f��kW����`��z�`BѲ�$//3� | ||
y�鸀�3ĭ�Ѥ�������/� | ||
���X-{ք�����T�oJR�TG�#W�:<���� |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ let | |
inherit (flake.outputs.lib) mkSystem secrets; | ||
agenix = flake.inputs.agenix.nixosModules.default; | ||
nix-serve = flake.inputs.nix-serve-ng.nixosModules.default; | ||
domain = "cache.64-b.it"; | ||
domain = "cache.tcp4.me"; | ||
home = "/home/klarkc"; | ||
authorizedKeys.keys = [ | ||
(builtins.readFile ../../secrets/klarkc.pub) | ||
|
@@ -18,9 +18,9 @@ let | |
disko | ||
]; | ||
# cd secrets | ||
# nix-store --generate-binary-cache-key cache.64-b.it ./cache ./cache.skey | ||
# cat cache | nix run github:ryantm/agenix -- -e cache.age -i ~/.ssh/id_ed25519 | ||
# cp ~/.ssh/id_ed25519.pub klarkc.pub | ||
# nix-store --generate-binary-cache-key cache.tcp4.me ./cache ./cache.skey | ||
# cat cache | nix run github:ryantm/agenix -- -e cache.age -i cache-vultr.pub | ||
# scp ssh://[email protected]:/etc/ssh/ssh_host_ed25519_key.pub cache-vultr.pub | ||
age.secrets.cache.file = "${secrets}/cache.age"; | ||
system.stateVersion = config.system.nixos.version; | ||
boot.loader.systemd-boot.enable = true; | ||
|