dotfiles/nixos/roles/homeserver.nix

16 lines
338 B
Nix
Raw Permalink Normal View History

2021-05-29 18:05:31 +02:00
{ lib, ... }: {
2020-05-21 17:39:38 +02:00
users.users.lars = {
isNormalUser = true;
2022-10-04 10:39:49 +02:00
openssh.authorizedKeys.keys = with (import ../sshkeys.nix); lars;
2020-05-21 17:39:38 +02:00
};
services.avahi = {
enable = true;
nssmdns = true;
publish = {
enable = true;
addresses = true;
};
};
networking.firewall.logRefusedConnections = lib.mkForce true;
}