2023-11-04 16:39:38 -07:00
|
|
|
let
|
|
|
|
|
ifExists = path: if builtins.pathExists path then path else null;
|
|
|
|
|
readIfExists = path: if builtins.pathExists path then builtins.readFile path else null;
|
|
|
|
|
in
|
2022-07-31 22:42:37 -07:00
|
|
|
{
|
2022-07-31 22:45:58 -07:00
|
|
|
ssh = {
|
|
|
|
|
public = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMd7+5+rLGrsGbg+mXjzQLqwAR2VNNFPCb7Va4FqVwd7 haak@framework";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
syncthing = {
|
2023-11-04 16:39:38 -07:00
|
|
|
cert = ifExists "/home/haak/dotfiles/secrets/syncthing/cert.pem";
|
|
|
|
|
key = ifExists "/home/haak/dotfiles/secrets/syncthing/key.pem";
|
2022-07-31 22:45:58 -07:00
|
|
|
};
|
2022-08-09 17:11:56 -07:00
|
|
|
|
|
|
|
|
wifi = {
|
2022-09-09 01:03:27 -07:00
|
|
|
# These wifi names must match exactly the network names used for
|
|
|
|
|
# wpa_supplicant configuration!
|
2022-08-09 17:11:56 -07:00
|
|
|
N904 = {
|
2023-11-04 16:39:38 -07:00
|
|
|
pskRaw = readIfExists "/home/haak/dotfiles/secrets/wifi/n904/pskRaw.txt";
|
2022-08-09 17:11:56 -07:00
|
|
|
};
|
2022-09-09 01:03:27 -07:00
|
|
|
|
|
|
|
|
"ShamblingHalfling 5Ghz-1" = {
|
2023-11-04 16:39:38 -07:00
|
|
|
pskRaw = readIfExists "/home/haak/dotfiles/secrets/wifi/ShamblingHalfling 5Ghz-1/pskRaw.txt";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
lbheim = {
|
|
|
|
|
pskRaw = readIfExists "/home/haak/dotfiles/secrets/wifi/lbheim/pskRaw.txt";
|
2022-09-09 01:03:27 -07:00
|
|
|
};
|
2022-08-09 17:11:56 -07:00
|
|
|
};
|
2022-07-31 22:42:37 -07:00
|
|
|
}
|