30 lines
436 B
Nix
30 lines
436 B
Nix
# Configuration for programs and services.
|
|
|
|
{ pkgs, ... }:
|
|
|
|
{
|
|
programs = {
|
|
zsh.enable = true;
|
|
};
|
|
|
|
services = {
|
|
avahi = {
|
|
enable = true;
|
|
nssmdns = true;
|
|
publish = {
|
|
addresses = true;
|
|
domain = true;
|
|
enable = true;
|
|
};
|
|
};
|
|
|
|
openssh = {
|
|
enable = true;
|
|
settings = {
|
|
PasswordAuthentication = false;
|
|
PermitRootLogin = "no";
|
|
};
|
|
};
|
|
};
|
|
}
|