chore: clean up

This commit is contained in:
TheGeneralist 2025-07-03 09:03:46 +02:00
parent e190c5cbaa
commit cd8c34f8da
Signed by: thegeneralist01
SSH key fingerprint: SHA256:pp9qddbCNmVNoSjevdvQvM5z0DHN7LTa8qBMbcMq/R4
18 changed files with 399 additions and 301 deletions

View file

@ -1,4 +1,4 @@
{ lib, ... }: let
let
numbers = [
"1" "2" "3" "4" "5" "6" "7" "8" "9" "0"
];

View file

@ -1,15 +1,13 @@
# TODO: this
# { lib, ... }: let
# sshOptions = {
# PermitRootLogin = "no";
# PasswordAuthentication = "no";
# };
# in {
# services.openssh = {
# enable = true;
# extraConfig = sshOptions
# |> lib.mapAttrsToList (name: value: "${name} ${value}")
# |> lib.concatStringsSep "\n";
# };
# }
{}
{ lib, ... }: let
sshOptions = {
PermitRootLogin = "no";
PasswordAuthentication = "no";
};
in {
services.openssh = {
enable = true;
extraConfig = sshOptions
|> lib.mapAttrsToList (name: value: "${name} ${value}")
|> lib.concatStringsSep "\n";
};
}