feat: try rework
This commit is contained in:
parent
1ddbd3b8b6
commit
ecf10628c3
51 changed files with 1941 additions and 445 deletions
34
config/secrets.nix
Normal file
34
config/secrets.nix
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
{
|
||||
autossh = {
|
||||
remote_proxy = {
|
||||
key = {
|
||||
file = ../secrets/autossh/remote_proxy_key;
|
||||
owner = "autossh-remote_proxy";
|
||||
mode = "0400";
|
||||
};
|
||||
known_hosts = {
|
||||
file = ../secrets/autossh/remote_proxy_known_hosts;
|
||||
owner = "autossh-remote_proxy";
|
||||
mode = "0400";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
qbittorrent = {
|
||||
file = ../secrets/qbittorrent/vpn.json;
|
||||
};
|
||||
|
||||
openssh = {
|
||||
users = {
|
||||
nudelerde = {
|
||||
pub_keys = {
|
||||
file = ../secrets/openssh/nudelerde/pub_keys;
|
||||
path = "/home/nudelerde/.ssh/authorized_keys";
|
||||
owner = "nudelerde";
|
||||
group = "users";
|
||||
mode = "0600";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue