Modularize openssh server config
This commit is contained in:
parent
647d2369b0
commit
22f092e6e9
4 changed files with 7 additions and 5 deletions
|
|
@ -69,9 +69,6 @@
|
|||
|
||||
services.udisks2.enable = true;
|
||||
|
||||
services.openssh.enable = true;
|
||||
|
||||
|
||||
# udevadm info --name /dev/foo --query all
|
||||
|
||||
services.udev.extraRules = ''
|
||||
|
|
|
|||
|
|
@ -94,8 +94,6 @@
|
|||
|
||||
services.udisks2.enable = true;
|
||||
|
||||
services.openssh.enable = true;
|
||||
|
||||
virtualisation = {
|
||||
docker.enable = true;
|
||||
libvirtd = {
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@
|
|||
./pipewire.nix
|
||||
./printers
|
||||
./sdr.nix
|
||||
./sshd.nix
|
||||
./sway.nix
|
||||
./tradebyte
|
||||
./udmx.nix
|
||||
|
|
|
|||
6
modules/sshd.nix
Normal file
6
modules/sshd.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
passwordAuthentication = false;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue