nixos/extra/ssh.nix
2021-02-28 22:16:36 +01:00

9 lines
378 B
Nix

{ config, ... }:
{
services.openssh.enable = true;
# WARNING: if you remove this, then you need to assign a password to your user, otherwise
# `sudo` won't work. You can do that either by using `passwd` after the first rebuild or
# by setting an hashed password in the `users.users.felix` block as `initialHashedPassword`.
security.sudo.wheelNeedsPassword = false;
}