zsh: added openvpn for bareksa alias
This commit is contained in:
parent
99cc57b730
commit
7b37127348
13
home/modules/bareksa.nix
Normal file
13
home/modules/bareksa.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{ pkgs, config, ... }:
|
||||
let
|
||||
sopsFile = ../../secrets/bareksa.yaml;
|
||||
in
|
||||
{
|
||||
sops.secrets."bareksa/openvpn" = {
|
||||
inherit sopsFile;
|
||||
};
|
||||
|
||||
programs.zsh.shellAliases = {
|
||||
vpn-bareksa = "sudo ${pkgs.openvpn}/bin/openvpn --config ${config.sops.secrets."bareksa/openvpn".path}";
|
||||
};
|
||||
}
|
|
@ -7,5 +7,6 @@
|
|||
./syncthing.nix
|
||||
./obs.nix
|
||||
./firefox.nix
|
||||
./bareksa.nix
|
||||
];
|
||||
}
|
||||
|
|
22
secrets/bareksa.yaml
Normal file
22
secrets/bareksa.yaml
Normal file
|
@ -0,0 +1,22 @@
|
|||
bareksa:
|
||||
openvpn: ENC[AES256_GCM,data:sk9en8ZFka98drUsniJsxi82U/XoluiOsKtB07k0VfqtNi8YVEQ2hV2RtLWXtJX5kBAxCt3AhCF/zehqhYMr4y3ElCLYWzFDJn6G3a4iE4lUCKEFQoCeZcDuCRnGjXIg4dGKGubKeCQ7giiaXQZ89qlj+e0DXLLk7iyzwyY3DxxYEZk6UcXM0OWDByZ6idghyK1yIjauM/7qROj65lKp2jf8q8vb54Bqkd9FR5kVvZJhu8Oebux3JHLFKpMsBV4buFiUtqjNlJ9UHfJk1VKydiHJuZKGKyjXx40m1tE96UkHsQvJQtpq+RRFZBZfE6VntiXFv/BL9YYW25sqCkdcqeVrUnHrrW20HLGVy6z/As/GaZc0mthPNng4Hs0mF9jEDbrsHSko8cqy2AQ2aMoH5qqxxaOLquTFWELw/NfCM2l3EEmj3mO0huEVvJMiKueVk8BcW81UhfIEPy0jROzYVjdqgX3XJdXbxnzCx9Z4jL6247MD9/9wSyiLpbVc9olKhYU2fkRaxoMzVTlpcJog1By4FcloLqt+IxJPN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MrD7cOpZRPdSpBLdjBeMLab2kMsgnAVsEIvCqcQ249GlIBqxCFiUqUjhnUfNayI/P5eYIRwpx1DTaJAYrK7I5TcdsINjJTLS3DhMii+04T0CBCkyB6QPqkLltVnSjlh9RNHe427khfzc2vVzhejsvgcm2QEFL/BNOMNzUCEEVjbjOXfmB6RtMSG7DWByb9cTcuW78GhJsqMuRNGniwxYVt402kf9J5JjhvPY5lfKRbHcFoIMWS/zhJLclgIy2Kv3plhIhScXACWsdFETdZn7JahIJAfNwC5nXEE9CFeTcYwkIYLTP1ImeushqDzFqgKz85H+9C2vnAy9p+NmvspcKNjqyZfMWvkFnA4ODY3N5XtYmG8pGVTL5WU+SXc+YSzjCuRhOa6oabFktderGWVcnvkGN2FXg4EDTZ//FKt8b+KN3wShOFzAvVvNCvlzLt+zQuNMxgLYeb2bBrMrIaEzGcIzT8Yh6g8mw+pLfD1vPzDf/KW7JClHaUqymq+oL0jSLHIdLf6Y0LWmE61Fhtrh0fm9ZvQkjCRGvzNc+qqgXn2PYkJtBaGAea7+bNseyYCCLv/4HlEUEHqAo7B,iv:/PL754psZ3FmtGh3yPxFgJOPl6sK/8mR4JMeOEJxOiw=,tag:do4WSomPukfA6j428c5lfQ==,type:str]
|
||||
sops:
|
||||
kms: []
|
||||
gcp_kms: []
|
||||
azure_kv: []
|
||||
hc_vault: []
|
||||
age:
|
||||
- recipient: age1kruum2varzua7w5n6n52vhwyek2arc685rhcwt0u7k2jf5mecsjslkl9ll
|
||||
enc: |
|
||||
-----BEGIN AGE ENCRYPTED FILE-----
|
||||
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSA4UjFJQU8xL2JyM2JjNTRY
|
||||
UDRBL0hodmFVb0xtZnVmUXpxT1ZqRHdaRVRNCkMyY0VoZEw1MEo1L3VZVnlJOVFo
|
||||
YVZCMnFRcEdMR29EK2lVbmdFREtFWlUKLS0tIHRFRlcvN3E2L2dBaHFsMy9GV2k0
|
||||
TlB6MjhXY1VPUkJQS05hdFVGbGlIdUEKhK2RFfuDZUXdDUL/ueJnRP65lAGFVPXg
|
||||
zqZdgIU6/CKKRjguw4LC2aO75y2tISRrACvvzjjp0LED6rZQfZspWg==
|
||||
-----END AGE ENCRYPTED FILE-----
|
||||
lastmodified: "2024-07-12T03:10:48Z"
|
||||
mac: ENC[AES256_GCM,data:bGMnCGchG79mWb6c6AA+80/iuFSlESY6UhtoUV5uRcXZG8kzjN/k+r9NddoAgVK/l6vK4Lu3VipEef30uw9TXxKTpLU07nxNQGly2mlJNlbGRBNJzfNJu7pRoxSq77UJOl5MVtaPPTB61l4Iev3t+x27RJmPpTOncQ0kp2z2a/U=,iv:tFYj3s7pDjU/q96NcNiDdQmSH3zv7M9AhLDAbBKvprE=,tag:MyNls7RWiXhTWo+QJQXoGw==,type:str]
|
||||
pgp: []
|
||||
unencrypted_suffix: _unencrypted
|
||||
version: 3.8.1
|
Loading…
Reference in a new issue