2023-06-18 00:46:31 +00:00
|
|
|
# WARNING: currently not usable anymore
|
2023-01-13 06:42:21 +00:00
|
|
|
let
|
2023-06-18 00:46:31 +00:00
|
|
|
inherit
|
|
|
|
((
|
|
|
|
import
|
|
|
|
(
|
|
|
|
let
|
|
|
|
lock = builtins.fromJSON (builtins.readFile ./flake.lock);
|
|
|
|
in
|
|
|
|
fetchTarball {
|
|
|
|
url = "https://github.com/edolstra/flake-compat/archive/${lock.nodes.flake-compat.locked.rev}.tar.gz";
|
|
|
|
sha256 = lock.nodes.flake-compat.locked.narHash;
|
|
|
|
}
|
|
|
|
)
|
|
|
|
{src = ./.;}
|
|
|
|
)
|
|
|
|
.defaultNix)
|
|
|
|
secrets
|
|
|
|
;
|
2023-01-12 17:50:46 +00:00
|
|
|
inherit (secrets) pubKeys;
|
|
|
|
inherit (pubKeys) users hosts;
|
|
|
|
all = users // hosts;
|
|
|
|
c_ = builtins;
|
2023-06-18 00:46:31 +00:00
|
|
|
in {
|
|
|
|
"secrets/s3fs.age".publicKeys = c_.attrValues all;
|
|
|
|
"secrets/s3fs.digital-garden.age".publicKeys = c_.attrValues all;
|
|
|
|
"secrets/_nhitrl.age".publicKeys = c_.attrValues all;
|
|
|
|
"secrets/wifi.env.age".publicKeys = c_.attrValues all;
|
2023-01-12 17:50:46 +00:00
|
|
|
}
|