fix syntax

This commit is contained in:
Chris Kruining 2025-03-02 13:59:08 +01:00
parent f174b610d8
commit 84541924eb
2 changed files with 3 additions and 1 deletions

View file

@ -2,6 +2,7 @@
let let
inherit (lib.meta) getExe; inherit (lib.meta) getExe;
inherit (lib.modules) mkIf; inherit (lib.modules) mkIf;
inherit (lib.attrsets) attrValues;
cfg = config.modules.desktop.editors.vscodium; cfg = config.modules.desktop.editors.vscodium;
in in

View file

@ -1,6 +1,7 @@
{ config, options, lib, pkgs, ... }: { config, options, lib, pkgs, ... }:
let let
inherit (lib.modules) mkIf; inherit (lib.modules) mkIf;
inherit (lib.attrsets) attrValues;
in in
{ {
options.modules.networking.ssh = let options.modules.networking.ssh = let
@ -16,7 +17,7 @@ in
ports = [ 22 ]; ports = [ 22 ];
settings = { settings = {
PassswordAuthentication = true; PassswordAuthentication = true;
AllowUsers = [ "chris", "root" ]; AllowUsers = [ "chris" "root" ];
UseDns = true; UseDns = true;
UsePAM = true; UsePAM = true;
PermitRootLogin = "prohibit-password"; PermitRootLogin = "prohibit-password";