1
1
Fork 0

agenix: move geoclue2 to common

Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
Myned 2024-09-18 08:49:10 -05:00
parent d95e9a2deb
commit 162179f0ca
Signed by: myned
GPG key ID: C7224454F7881A34
4 changed files with 14 additions and 14 deletions

View file

@ -17,7 +17,7 @@ in {
group = "geoclue";
};
in {
"desktop/geoclue2/geolocation" = secret "desktop/geoclue2/geolocation";
"common/geoclue2/geolocation" = secret "common/geoclue2/geolocation";
};
# https://gitlab.freedesktop.org/geoclue/geoclue
@ -39,7 +39,7 @@ in {
# Manually use static source from coordinates
# https://github.com/NixOS/nixpkgs/issues/311595#issuecomment-2247989491
environment.etc = {
"geolocation".source = config.age.secrets."desktop/geoclue2/geolocation".path;
"geolocation".source = config.age.secrets."common/geoclue2/geolocation".path;
"geoclue/conf.d/00-config.conf".text = ''
[static-source]

View file

@ -0,0 +1,11 @@
age-encryption.org/v1
-> ssh-ed25519 8E6j8Q rC4onQ0bbZnaTbgIsOb7joCKgCDSlI+G+ixXLvGOyR8
7uQ6bp9DUhDvJo5D9TiFqwxN59Ssu0HlpAjVBWDcd08
-> ssh-ed25519 sfxzoQ lQdVxgynoqPddNDtG4E0C5gnk4GId4YLTV1QpLfWJVE
Kk8eJbikBTxL8Ou+4qI3XWOF7RL409t2ZpDYlzyyqu8
-> ssh-ed25519 g5GcDQ 3uxPJ83Ptds3Yu5npJ7pU2US4IfY3YbZSlM6K9AIeh0
GMmVOVop1Jb1pz5OpWCL4HQrdTowu3OBm2bY43Y3nXg
-> ssh-ed25519 T/dATA E8AGyhWgLO7aDvs6KMtGkBZtEdKx3GhcEXNGMoMvHww
eRueQ0kHd0Yyr59nfwVvkZqXFFOCGgWAzcGU8m4SdWw
--- +cQLbixSgnD6Aw7JHpej55D0+I02fHNT4OLe3tm54g4
¾¯õÃÐZ/àö(ý䕳¤/¾@·8í“*UKW¡´Ö”<C396>¿¾†WnÔš_QAãågAß¹<C39F>èh,õlˆßZQFªÆAx{ìèê¡m.d§=É<>m1Y¸ü~ÕÑ»)8 Ð<C2A0>iû<†ŸCdÓì

View file

@ -1,11 +0,0 @@
age-encryption.org/v1
-> ssh-ed25519 8E6j8Q zmy3ZA2oTAR+xykhyXATW2o+26hT2ff7foZtPgBKzVI
aaPmlmzG0Tg9ghbi05pwkh63N5iKV9Q0ZgAtCG6r3TM
-> ssh-ed25519 sfxzoQ 1tEV/mRweDZtB4iKlhQgoNgq4RTfj4kKcTP+upJ/JSk
NRbKjbTkAibQ44cMDymJ7PbHCf+PD9pJ3Lkj21s2YoE
-> ssh-ed25519 g5GcDQ b2lpUOBO39VuNKi1CVv1/XklyiWJHBH2Di69TkbViS0
vj5g0ORVPUhUSyaJj9S0FQMyoJhs/87JrCr9TBL7NAg
-> ssh-ed25519 T/dATA iuxkgbQYgiCGj+cvmXfoDjVoyuLK3UiaE4/JuxW9o1k
F2B30uKDP05Gi38Lpad6keiwF9q4ukqm0kTdWUlh4n4
--- 5UTr7xpivjj2XuIK0Etdjapk6hQCUpR4SOO+ynh+WZA
<1F>|ë‚>üCÖ»a;A[¯n@#;Vô°H·K*[=æXà¢é rAë¾yáK0T?ÆHçí”1¬ ŒLÝ´}6u"i9 ñÛYÖ†!ŸÂû5#ìfðWJËÕ½kO>¨(8J€C 

View file

@ -43,6 +43,7 @@ in {
### Common
"common/nix/access-tokens.conf".publicKeys = common;
"common/geoclue2/geolocation".publicKeys = common;
"common/tailscale/tailnet".publicKeys = common;
### Console
@ -52,7 +53,6 @@ in {
### Desktop
"desktop/bitwarden/client_id".publicKeys = desktop;
"desktop/bitwarden/client_secret".publicKeys = desktop;
"desktop/geoclue2/geolocation".publicKeys = desktop;
"desktop/users/myned.pass".publicKeys = desktop;
"desktop/users/root.pass".publicKeys = desktop;