feat: add nextcloud
This commit is contained in:
parent
ca5db8c1c2
commit
b4bd51410c
10 changed files with 373 additions and 37 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{ settings, ... }:
|
||||
{ settings, lib, ... }:
|
||||
|
||||
{
|
||||
networking = {
|
||||
|
|
@ -15,10 +15,10 @@
|
|||
enable = true;
|
||||
ports = [ 22 ];
|
||||
settings = {
|
||||
PasswordAuthentication = false;
|
||||
AllowUsers = [ settings.personal.username ];
|
||||
UseDns = true;
|
||||
PermitRootLogin = "no";
|
||||
PasswordAuthentication = lib.mkDefault false;
|
||||
AllowUsers = lib.mkDefault [ settings.personal.username ];
|
||||
UseDns = lib.mkDefault true;
|
||||
PermitRootLogin = lib.mkDefault "no";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue