update
This commit is contained in:
2
boot.nix
2
boot.nix
@@ -4,7 +4,7 @@
|
||||
# Use the GRUB 2 boot loader.
|
||||
boot.loader.grub = {
|
||||
enable = true;
|
||||
version = 2;
|
||||
# version = 2;
|
||||
device = "/dev/sda";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user