From 0a98eb2a984c311d074adebe6c6a2ee4b16dab28 Mon Sep 17 00:00:00 2001 From: stubbfel Date: Sat, 3 Jun 2023 17:51:40 +0200 Subject: [PATCH] update --- boot.nix | 2 +- services/nexus.nix | 4 ++-- services/sshd.nix | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/boot.nix b/boot.nix index 552d323..0ad6c53 100644 --- a/boot.nix +++ b/boot.nix @@ -4,7 +4,7 @@ # Use the GRUB 2 boot loader. boot.loader.grub = { enable = true; - version = 2; +# version = 2; device = "/dev/sda"; }; } diff --git a/services/nexus.nix b/services/nexus.nix index 201598c..7cf9cf9 100644 --- a/services/nexus.nix +++ b/services/nexus.nix @@ -5,11 +5,11 @@ let lPort = 9081; nexusPkgs = pkgs.nexus.overrideAttrs (oldAttrs: rec { pname = "nexus"; - version = "3.52.0-01"; + version = "3.53.1-02"; sourceRoot = "${pname}-${version}"; src = pkgs.fetchurl { url = "https://sonatype-download.global.ssl.fastly.net/nexus/3/nexus-${version}-unix.tar.gz"; - sha256 = "sha256-+Hdmuy7WBtUIjEBZyLgE3a3+L/lANHiy1VRBJ2s686U="; + sha256 = "sha256-+jbGdESMwAfJas32i+BKGBQoPFqioawqT6JknnyNANQ="; }; installPhase = '' runHook preInstall diff --git a/services/sshd.nix b/services/sshd.nix index dfd5095..d3a5172 100644 --- a/services/sshd.nix +++ b/services/sshd.nix @@ -2,7 +2,7 @@ { services.openssh.enable = true; - services.openssh.passwordAuthentication = false; - services.openssh.kbdInteractiveAuthentication = false; - services.openssh.permitRootLogin = "no"; + services.openssh.settings.PasswordAuthentication = false; + services.openssh.settings.KbdInteractiveAuthentication = false; + services.openssh.settings.PermitRootLogin = "no"; }