dotfiles/nix/system/framework/keys.nix

23 lines
1,019 B
Nix
Raw Normal View History

{
2022-07-31 22:45:58 -07:00
ssh = {
public = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMd7+5+rLGrsGbg+mXjzQLqwAR2VNNFPCb7Va4FqVwd7 haak@framework";
};
syncthing = {
cert = if builtins.pathExists "/home/haak/dotfiles/secrets/syncthing/cert.pem" then "/home/haak/dotfiles/secrets/syncthing/cert.pem" else null;
key = if builtins.pathExists "/home/haak/dotfiles/secrets/syncthing/key.pem" then "/home/haak/dotfiles/secrets/syncthing/key.pem" else null;
};
wifi = {
2022-09-09 01:03:27 -07:00
# These wifi names must match exactly the network names used for
# wpa_supplicant configuration!
N904 = {
pskRaw = if builtins.pathExists "/home/haak/dotfiles/secrets/wifi/n904/pskRaw.txt" then builtins.readFile "/home/haak/dotfiles/secrets/wifi/n904/pskRaw.txt" else null;
};
2022-09-09 01:03:27 -07:00
"ShamblingHalfling 5Ghz-1" = {
pskRaw = if builtins.pathExists "/home/haak/dotfiles/secrets/wifi/ShamblingHalfling 5Ghz-1/pskRaw.txt" then builtins.readFile "/home/haak/dotfiles/secrets/wifi/ShamblingHalfling 5Ghz-1/pskRaw.txt" else null;
};
};
}