-
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
8 changed files
with
87 additions
and
6 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 |
---|---|---|
@@ -1,10 +1,12 @@ | ||
# Summary | ||
|
||
<!-- - [different from other scheme](./diff.md) --> | ||
|
||
- [Prerequisits](prerequisits.md) | ||
- [setup](setup.md) | ||
- [Intro](./intro.md) | ||
- [Prerequisits](./prerequisits.md) | ||
- [setup](./setup.md) | ||
- [flake Option](./flake-option.md) | ||
- [nixos Option](./nixos-option.md) | ||
- [Advanced](advanced.md) | ||
- [FaQ](faq.md) | ||
- [Nix Apps](./nix-apps.md) | ||
- [Workflow](./workflow.md) | ||
- [Development](./develop.md) | ||
- [Advanced](./advanced.md) | ||
- [FaQ](./faq.md) |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
``` | ||
/|、 | ||
(˙、.7 | ||
|、~ヽ | ||
じしf_,)ノ | ||
``` |
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Development | ||
|
||
## DevShell | ||
|
||
```bash | ||
nix develop | ||
``` | ||
|
||
## Test | ||
|
||
For testing basic functions with virtual machine: | ||
|
||
```bash | ||
nix run github:nix-community/nixos-anywhere -- --flake .#tester --vm-test | ||
``` | ||
|
||
Run full test with `just full-test` | ||
|
||
## Format | ||
|
||
This repo follows `nixfmt-rfc-style` style, reformat with running `nixfmt .`. | ||
|
||
## Lint | ||
|
||
Lint with statix. |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Frequent Asked Questions | ||
|
||
1. rebooting deploy failed with could not found ssh private key, but it indeed just there. | ||
|
||
Check if using `root on tmpfs`, and modify [hostKeys](https://oluceps.github.io/vaultix/nixos-option.html#hostkeys) path to Absolute path string to your REAL private key location (not bind mounted or symlinked etc.) |
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Vaultix | ||
|
||
### Secret management for NixOS. | ||
|
||
This project is highly inspired by [agenix-rekey](https://github.com/oddlama/agenix-rekey) and [sops-nix](https://github.com/Mic92/sops-nix). Based on rust [age](https://docs.rs/age/latest/age) crate. | ||
|
||
+ Support Template | ||
+ Age Plugin Compatible | ||
+ Support PIV Card (Yubikey) | ||
+ Support identity with passphrase | ||
+ Compatible with `userborn` module option | ||
+ No Bash | ||
|
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Nix Apps | ||
|
||
Provided user friendly cli tools: | ||
|
||
|
||
## renc | ||
|
||
This is needed every time the host key or secret content changed. | ||
|
||
The wrapped vaultix will decrypt cipher content to plaintext and encrypt it with target host public key, finally stored in `cache`. | ||
|
||
```bash | ||
nix run .#vaultix.app.x86_64-linux.renc | ||
``` | ||
|
||
## edit | ||
|
||
This will decrypt and open file with `$EDITOR`. Will encrypt it after editing finished. | ||
|
||
```bash | ||
nix run .#vaultix.app.x86_64-linux.edit -- ./secrets/some.age | ||
``` | ||
|
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# TODO | ||
Common used workflow with vaultix |
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