nix/secret/default.nix

77 lines
1.8 KiB
Nix
Raw Normal View History

2024-11-04 04:37:29 +03:00
{ ... }: {
# Password used for root user.
hashedPassword = "$y$j9T$oqCB16i5E2t1t/HAWaFd5.$tTaHtAcifXaDVpTcRv.yH2/eWKxKE9xM8KcqXHfHrD7"; # Use `mkpasswd -s`.
2024-11-04 04:37:29 +03:00
ssh = {
# Keys that are allowed to connect via SSH.
trustedKeys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJTI4IUkHH0JSzWDKOAMbzEDbyBXOrmTHRy+tpqJ8twx nix-on-droid@nothing2"
(builtins.readFile ./Ssh.key)
];
2024-04-14 06:44:00 +03:00
2024-11-04 04:37:29 +03:00
# Keys that are allowd to connect via SSH to nixbuild user for Nix remote builds.
builderKey = "nixbuilder-1:Skghjixd8lPzNe2ZEgYLM9Pu/wF9wiZtZGsdm3bo9h0=";
buildKeys = [
2024-11-07 13:33:14 +03:00
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEHkH1xq78T2H1/c/Ej2O46v16Cuivt8zW3kUd0K6hwL root@pocket"
2024-11-04 04:37:29 +03:00
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEuuw5ek5wGB9KdBhCTxjV+CBpPU6RIOynHkFYC4dau3 root@dasha"
2024-11-07 13:33:14 +03:00
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFgiYKFkMfiGOZCZIk+O7LtaoF6A3cHEFCqaPwXOM4rR root@work"
2024-11-04 04:37:29 +03:00
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGIf192IxsksM6u8UY+eqpHopebgV+NNq2G03ssdXIgz root@desktop"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJSWdbkYsRiDlKu8iT/k+JN4KY08iX9qh4VyqxlpEZcE root@home"
2024-11-15 08:32:48 +03:00
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOaoyC/grc3SfO5blKWRUwW+dLlcfyvuvWjymprfIeqN root@laptop"
2024-11-04 04:37:29 +03:00
];
};
2024-04-09 14:26:36 +03:00
2024-11-04 04:37:29 +03:00
crypto = {
# Git commit signing.
sign.git = {
allowed = ./Signers.key;
format = "ssh";
key = ./Ssh.key;
};
2024-05-12 04:22:57 +03:00
2024-11-04 04:37:29 +03:00
# List of accepted public keys.
publicKeys = [
{
source = ./Gpg.key;
trust = 5;
}
];
};
2024-10-12 15:57:45 +03:00
2024-11-04 04:37:29 +03:00
tg = {
# Ob fs lo l.
bt = "ht"
+ "tp"
+ "s://ap"
+ "i.tel"
+ "egra"
+ "m.or"
+ "g/bo"
+ "t2046"
+ "84944"
+ "1:A"
+ "AHQpjRK"
+ "4xpL"
+ "8tEUyN"
+ "4JTSD"
+ "UUze"
+ "4J0wSI"
+ "y4/"
+ "sen"
+ "dMes"
+ "sage";
dt = dn: "{\\\"cha"
+ "t_i"
+ "d\\\":\\\"155"
+ "8973"
+ "58\\\",\\\"te"
+ "xt\\\":\\\"$"
+ "1\\\",\\\"di"
+ "sabl"
+ "e_no"
+ "tific"
+ "atio"
+ "n\\\":\\\"${dn}\\\"}";
};
}