Handle secrets using agenix
This commit is contained in:
@@ -64,7 +64,7 @@
|
||||
|
||||
[soundcloud]
|
||||
enabled = true
|
||||
auth_token = PLACEHOLDER
|
||||
auth_token = ${config.age.secrets.soundcloud_api_key.path}
|
||||
explore_songs = 100
|
||||
|
||||
[m3u]
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
networking.wg-quick.interfaces = {
|
||||
home = {
|
||||
address = [ "10.8.0.2/32" ];
|
||||
privateKeyFile = "/home/coolneng/.wg/keys/privatekey";
|
||||
privateKeyFile = config.age.secrets.wireguard.path;
|
||||
dns = [ "10.8.0.1" ];
|
||||
peers = [
|
||||
# zion
|
||||
@@ -32,7 +32,7 @@
|
||||
};
|
||||
coace = {
|
||||
address = [ "10.9.0.2/32" ];
|
||||
privateKeyFile = "/home/coolneng/.wg/keys/privatekey";
|
||||
privateKeyFile = config.age.secrets.wireguard.path;
|
||||
peers = [
|
||||
# unit
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user