fix syntax
This commit is contained in:
parent
f174b610d8
commit
84541924eb
2 changed files with 3 additions and 1 deletions
|
@ -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
|
||||||
|
|
|
@ -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";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue