2023-10-15 15:04:47 +00:00
|
|
|
# Configuration for programs and services.
|
|
|
|
|
|
|
|
{ pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
programs = {
|
|
|
|
zsh.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
services = {
|
2023-10-16 11:43:18 +00:00
|
|
|
avahi = {
|
|
|
|
enable = true;
|
|
|
|
nssmdns = true;
|
|
|
|
publish = {
|
|
|
|
addresses = true;
|
|
|
|
domain = true;
|
|
|
|
enable = true;
|
|
|
|
};
|
|
|
|
};
|
2023-10-15 15:04:47 +00:00
|
|
|
|
2023-10-17 12:42:05 +00:00
|
|
|
openssh = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
|
|
|
PasswordAuthentication = false;
|
|
|
|
PermitRootLogin = "no";
|
|
|
|
};
|
|
|
|
};
|
2023-10-15 15:04:47 +00:00
|
|
|
};
|
|
|
|
}
|