sops nix configured
This commit is contained in:
parent
3d0bd56fe8
commit
db022df80b
9 changed files with 143 additions and 27 deletions
|
|
@ -8,10 +8,19 @@
|
|||
programs = {
|
||||
bash = {
|
||||
shellAliases.dd = "dd bs=1M conv=fsync status=progress";
|
||||
sessionVariables.SOPS_AGE_KEY_FILE = "/var/lib/sops-nix/key.txt";
|
||||
initExtra = ''
|
||||
session() {
|
||||
systemd-run -tGM bogale@ --user --wait $SHELL
|
||||
}
|
||||
awg-gen() {
|
||||
PRIVATE=$(awg genkey)
|
||||
printf "public: "
|
||||
echo $PRIVATE | awg pubkey
|
||||
echo "private: $PRIVATE"
|
||||
printf "preshared: "
|
||||
awg genpsk
|
||||
}
|
||||
'';
|
||||
};
|
||||
tmux = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue