16 lines
303 B
Nix
16 lines
303 B
Nix
{ 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}";
|
|
};
|
|
}
|