Open SSH on the network by default, but don't allow password authentication
This commit is contained in:
parent
ded0dd7d15
commit
669ab6b6ba
|
@ -117,7 +117,8 @@ in
|
||||||
# For rage encryption, all hosts need a ssh key pair
|
# For rage encryption, all hosts need a ssh key pair
|
||||||
services.openssh = {
|
services.openssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
openFirewall = lib.mkDefault false;
|
openFirewall = lib.mkDefault true;
|
||||||
|
passwordAuthentication = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Service that makes Out of Memory Killer more effective
|
# Service that makes Out of Memory Killer more effective
|
||||||
|
|
8
profiles/iot/default.nix
Normal file
8
profiles/iot/default.nix
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
{ self, config, lib, pkgs, ... }:
|
||||||
|
let inherit (lib) fileContents;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
pub-solar.graphical.enable = false;
|
||||||
|
pub-solar.x-os.localProxyService.enable = false;
|
||||||
|
pub-solar.sway.enable = false;
|
||||||
|
}
|
Loading…
Reference in a new issue