mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 07:53:55 -05:00
Aly Raffauf
1ea1aacb72
Some checks are pending
git-mirror / gitlab-sync (push) Waiting to run
nix-build / default-build (push) Waiting to run
nix-build / fallarbor-build (push) Waiting to run
nix-build / lavaridge-build (push) Waiting to run
nix-build / mauville-build (push) Waiting to run
nix-build / petalburg-build (push) Waiting to run
nix-build / rustboro-build (push) Waiting to run
nix-build / slateport-build (push) Waiting to run
nix-check / fmt-check (push) Waiting to run
nix-check / eval-check (push) Waiting to run
50 lines
1.7 KiB
Nix
50 lines
1.7 KiB
Nix
let
|
|
hosts = [
|
|
"fallarbor"
|
|
"lavaridge"
|
|
"mauville"
|
|
"petalburg"
|
|
"rustboro"
|
|
"slateport"
|
|
];
|
|
users = [
|
|
"aly_fallarbor"
|
|
"aly_lavaridge"
|
|
"aly_mauville"
|
|
"aly_petalburg"
|
|
"aly_rustboro"
|
|
"aly_slateport"
|
|
];
|
|
systemKeys = builtins.map (host: builtins.readFile ./publicKeys/root_${host}.pub) hosts;
|
|
userKeys = builtins.map (user: builtins.readFile ./publicKeys/${user}.pub) users;
|
|
keys = systemKeys ++ userKeys;
|
|
in {
|
|
"aly/backblaze/key.age".publicKeys = keys;
|
|
"aly/backblaze/keyId.age".publicKeys = keys;
|
|
"aly/mail/achacega_gmail.age".publicKeys = keys;
|
|
"aly/mail/alyraffauf_fastmail.age".publicKeys = keys;
|
|
"aly/syncthing/fallarbor/cert.age".publicKeys = keys;
|
|
"aly/syncthing/fallarbor/key.age".publicKeys = keys;
|
|
"aly/syncthing/lavaridge/cert.age".publicKeys = keys;
|
|
"aly/syncthing/lavaridge/key.age".publicKeys = keys;
|
|
"aly/syncthing/mauville/cert.age".publicKeys = keys;
|
|
"aly/syncthing/mauville/key.age".publicKeys = keys;
|
|
"aly/syncthing/petalburg/cert.age".publicKeys = keys;
|
|
"aly/syncthing/petalburg/key.age".publicKeys = keys;
|
|
"aly/syncthing/rustboro/cert.age".publicKeys = keys;
|
|
"aly/syncthing/rustboro/key.age".publicKeys = keys;
|
|
"aly/syncthing/slateport/cert.age".publicKeys = keys;
|
|
"aly/syncthing/slateport/key.age".publicKeys = keys;
|
|
"aly/transmissionRemote.age".publicKeys = keys;
|
|
"cloudflare.age".publicKeys = keys;
|
|
"homepage.age".publicKeys = keys;
|
|
"k3s.age".publicKeys = keys;
|
|
"lastFM/apiKey.age".publicKeys = keys;
|
|
"lastFM/secret.age".publicKeys = keys;
|
|
"spotify/clientId.age".publicKeys = keys;
|
|
"spotify/clientSecret.age".publicKeys = keys;
|
|
"tailscale/authKeyFile.age".publicKeys = keys;
|
|
"transmission.age".publicKeys = keys;
|
|
"wifi.age".publicKeys = keys;
|
|
}
|