sshlog: format

This commit is contained in:
Sandro - 2023-09-15 22:46:37 +02:00
parent 757ff30310
commit 0be653dfb9
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
1 changed files with 27 additions and 25 deletions

View File

@ -9,35 +9,37 @@
22 # not using openssh module
];
};
services.sshlogd.enable = true;
services.openssh.enable = lib.mkForce false;
services.nginx = {
enable = true;
additionalModules = [ pkgs.nginxModules.fancyindex ];
virtualHosts."${config.networking.hostName}.flpk.zentralwerk.org" = {
default = true;
forceSSL = true;
enableACME = true;
services = {
nginx = {
enable = true;
additionalModules = [ pkgs.nginxModules.fancyindex ];
virtualHosts."${config.networking.hostName}.flpk.zentralwerk.org" = {
default = true;
forceSSL = true;
enableACME = true;
locations."/.theme/" = {
alias = pkgs.fetchFromGitHub {
owner = "barrowclift";
repo = "directory-theme";
rev = "fca275a3ab1d64e8cdbff7e4d2e1d44eec924e2e";
sha256 = "sha256-UCQbQ+tyzR/Dpa0t2cogjzBJE+IJ9KAD2dtmq3gbq/U=";
locations."/.theme/" = {
alias = pkgs.fetchFromGitHub {
owner = "barrowclift";
repo = "directory-theme";
rev = "fca275a3ab1d64e8cdbff7e4d2e1d44eec924e2e";
sha256 = "sha256-UCQbQ+tyzR/Dpa0t2cogjzBJE+IJ9KAD2dtmq3gbq/U=";
};
};
locations."/" = {
root = config.services.sshlogd.outputDir;
extraConfig = ''
fancyindex on;
fancyindex_exact_size off;
fancyindex_css_href /.theme/style.css;
'';
};
};
locations."/" = {
root = config.services.sshlogd.outputDir;
extraConfig = ''
fancyindex on;
fancyindex_exact_size off;
fancyindex_css_href /.theme/style.css;
'';
};
};
openssh.enable = lib.mkForce false;
sshlogd.enable = true;
};
}