mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-01-24 14:48:37 +01:00
system: Enable ssh for all systems
This commit is contained in:
parent
f3855a5260
commit
a3a8766ada
@ -239,8 +239,6 @@ in
|
||||
};
|
||||
};
|
||||
|
||||
openssh.enable = true;
|
||||
|
||||
udisks2.enable = mkForce false;
|
||||
pipewire.enable = mkForce false;
|
||||
greetd.enable = mkForce false;
|
||||
|
@ -265,6 +265,14 @@ in
|
||||
ensureUsers = singleton { name = username; };
|
||||
ensureDatabases = [ username ];
|
||||
};
|
||||
|
||||
openssh = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
PasswordAuthentication = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
environment = {
|
||||
|
Loading…
Reference in New Issue
Block a user