nixcfg/secrets/secrets.nix
Aly Raffauf aec4214add
aly: switch to bitwarden (#72)
* aly: add password-store with extensions

* aly: add rofi-pass

* aly: simplify rofi-pass config

* aly: add rbw config

* aly/wm: bind super+p to rofi-rbw

* aly: remove password-store

* aly: remove rofi-pass

* aly/firefox: remove keepassxc extension

* aly: install bitwarden-desktop

* rofi: include rofi-rbw by default with sane defaults

* aly/wm: don't autostart keepassxc

* aly: remove keepassxc secret

* aly/wm: center and float bitwarden gui

* chromium: don't install keepassxc extension by default
2024-08-02 07:50:06 -04:00

44 lines
1.5 KiB
Nix

let
hosts = [
"fallarbor"
"lavaridge"
"mauville"
"petalburg"
"rustboro"
];
users = [
"aly_fallarbor"
"aly_lavaridge"
"aly_mauville"
"aly_petalburg"
"aly_rustboro"
];
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/transmissionRemote.age".publicKeys = keys;
"cloudflare.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;
}