🧹 move age secrets to usage

nixos
Moritz Böhme 2022-03-23 12:49:55 +01:00
parent 97ec540786
commit 523864e984
No known key found for this signature in database
GPG Key ID: 213820E2795F5CF5
7 changed files with 14 additions and 34 deletions

View File

@ -1,6 +1,10 @@
{ config, lib, pkgs, ... }:
{
age.secrets.spotifyd = {
file = ../../secrets/spotifyd.age;
owner = "1000";
};
home-manager.users.moritz = {
home.packages = with pkgs; [ spotify-tui sptlrx ];
services.spotifyd = {

View File

@ -7,24 +7,5 @@
file = ../../secrets/nordvpn.age;
owner = "1000";
};
davfs = {
file = ../../secrets/davfs.age;
mode = "600";
path = "/etc/davfs2/secrets";
};
smbMoritz.file = ../../secrets/smbMoritz.age;
smbMedia.file = ../../secrets/smbMedia.age;
spotifyd = {
file = ../../secrets/spotifyd.age;
owner = "1000";
};
homeVPN = {
file = ../../secrets/home-vpn.age;
owner = "1000";
};
homeVPNPassword = {
file = ../../secrets/home-vpn-password.age;
owner = "1000";
};
};
}

View File

@ -1,6 +1,16 @@
{ config, lib, pkgs, ... }:
{
age.secrets = {
homeVPN = {
file = ../../secrets/home-vpn.age;
owner = "1000";
};
homeVPNPassword = {
file = ../../secrets/home-vpn-password.age;
owner = "1000";
};
};
services.openvpn.servers = {
homeVPN = {
config = "config /run/agenix/homeVPN ";

Binary file not shown.

View File

@ -10,9 +10,6 @@ let
hosts = [ nixos-laptop nixos-desktop ];
in {
"nordvpn.age".publicKeys = users ++ hosts;
"davfs.age".publicKeys = users ++ hosts;
"smbMoritz.age".publicKeys = users ++ hosts;
"smbMedia.age".publicKeys = users ++ hosts;
"spotifyd.age".publicKeys = users ++ hosts;
"email-desktop.age".publicKeys = users ++ hosts;
"email-laptop.age".publicKeys = users ++ hosts;

View File

@ -1,12 +0,0 @@
age-encryption.org/v1
-> ssh-ed25519 ZYd7Zg ZSzrad3yohMhlM8+Tdr+LjTUqzxd7uXr6udffNjsYS4
0WVNLdXmw0BX1L2Oa1f5h0/16KLZ9Tlw3XOj/50Jvrc
-> ssh-ed25519 wG6LYg T5TU592Q/oERkYzgj80V3DxU9E8LUIDVxJts09sBXwk
ospPAH+10LCuhDDVk0d9m6ONwDRaQusv54P0DtRbzz8
-> ssh-ed25519 CjuqfA lOZt3LmXW0PKYELNl7WbUd3AoQte4YPnUvw6WEU9wW0
X6q1zv9m9zCJWM6cYjagOOzA/ESVQRSEHvlnwRHJx7U
-> :>-grease
ykOwD1jnYtkqqBx/YxyrUbr6AiQjzU7bug
--- FJNBXl9G9I7m9B1gBd56H6hGYTVmcxEnrNGRreU07OA
ñÙ§-¤3»ý™c=žP©÷UnSûE™
ô–+<2B>Âó´Ž„¹Å®w=#ŸÃ £åL?tÅS<>d‰©0<>Rªüä<C3BC>s¥<¤ãÓTéØÖ͘èÒi<C392>¢Q»¸

Binary file not shown.