fix(cicd): ssh option names, inherit (nixpkgs) lib
This commit is contained in:
parent
0879b52630
commit
6a0898753d
2 changed files with 9 additions and 7 deletions
|
@ -74,9 +74,10 @@
|
|||
} @ inputs:
|
||||
let
|
||||
inherit (self) outputs;
|
||||
helpers = (import ./lib/helpers.nix) { lib = nixpkgs.lib; };
|
||||
inherit (nixpkgs) lib;
|
||||
helpers = (import ./lib/helpers.nix) { inherit lib; };
|
||||
inherit (helpers) recurseDir hasFiles hasDirectories;
|
||||
forEachSystem = nixpkgs.lib.genAttrs [
|
||||
forEachSystem = lib.genAttrs [
|
||||
"aarch64-linux"
|
||||
"i686-linux"
|
||||
"x86_64-linux"
|
||||
|
@ -93,7 +94,6 @@
|
|||
|
||||
# Apps (`nix run`)
|
||||
apps = {};
|
||||
apps.default = null;
|
||||
|
||||
# Dev Shells (`nix develop`)
|
||||
devShells = forEachPkgs (pkgs:
|
||||
|
|
|
@ -88,10 +88,12 @@
|
|||
# Feel free to remove if you don't need it.
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
# Forbid root login through SSH.
|
||||
permitRootLogin = "no";
|
||||
# Use keys only. Remove if you want to SSH using password (not recommended)
|
||||
passwordAuthentication = false;
|
||||
settings = {
|
||||
# Forbid root login through SSH.
|
||||
PermitRootLogin = "no";
|
||||
# Use keys only. Remove if you want to SSH using password (not recommended)
|
||||
PasswordAuthentication = false;
|
||||
};
|
||||
};
|
||||
|
||||
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
||||
|
|
Loading…
Reference in a new issue