mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-25 16:14:16 -05:00
modify some of the ssh parameters
This commit is contained in:
parent
8597ea5853
commit
a7e6bd392b
4 changed files with 20 additions and 12 deletions
|
|
@ -1,5 +1,9 @@
|
|||
{
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
settings = {
|
||||
PermitRootLogin = "no";
|
||||
PasswordAuthentication = false;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -30,17 +30,17 @@ in
|
|||
# (Arguably) Most Important Service - backups
|
||||
services.restic.backups = {
|
||||
NPM = {
|
||||
user = "root";
|
||||
timerConfig = {
|
||||
OnCalendar = "daily";
|
||||
Persistent = true;
|
||||
};
|
||||
paths = [
|
||||
"${volumePath}/NPM/data"
|
||||
"${volumePath}/NPM/letsencrypt"
|
||||
];
|
||||
repositoryFile = config.sops.secrets."restic/url".path;
|
||||
passwordFile = config.sops.secrets."restic/key".path;
|
||||
user = "root";
|
||||
timerConfig = {
|
||||
OnCalendar = "daily";
|
||||
Persistent = true;
|
||||
};
|
||||
paths = [
|
||||
"${volumePath}/NPM/data"
|
||||
"${volumePath}/NPM/letsencrypt"
|
||||
];
|
||||
repositoryFile = config.sops.secrets."restic/url".path;
|
||||
passwordFile = config.sops.secrets."restic/key".path;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue