update
This commit is contained in:
2
boot.nix
2
boot.nix
@@ -4,7 +4,7 @@
|
|||||||
# Use the GRUB 2 boot loader.
|
# Use the GRUB 2 boot loader.
|
||||||
boot.loader.grub = {
|
boot.loader.grub = {
|
||||||
enable = true;
|
enable = true;
|
||||||
version = 2;
|
# version = 2;
|
||||||
device = "/dev/sda";
|
device = "/dev/sda";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,11 +5,11 @@ let
|
|||||||
lPort = 9081;
|
lPort = 9081;
|
||||||
nexusPkgs = pkgs.nexus.overrideAttrs (oldAttrs: rec {
|
nexusPkgs = pkgs.nexus.overrideAttrs (oldAttrs: rec {
|
||||||
pname = "nexus";
|
pname = "nexus";
|
||||||
version = "3.52.0-01";
|
version = "3.53.1-02";
|
||||||
sourceRoot = "${pname}-${version}";
|
sourceRoot = "${pname}-${version}";
|
||||||
src = pkgs.fetchurl {
|
src = pkgs.fetchurl {
|
||||||
url = "https://sonatype-download.global.ssl.fastly.net/nexus/3/nexus-${version}-unix.tar.gz";
|
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 = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
services.openssh.enable = true;
|
services.openssh.enable = true;
|
||||||
services.openssh.passwordAuthentication = false;
|
services.openssh.settings.PasswordAuthentication = false;
|
||||||
services.openssh.kbdInteractiveAuthentication = false;
|
services.openssh.settings.KbdInteractiveAuthentication = false;
|
||||||
services.openssh.permitRootLogin = "no";
|
services.openssh.settings.PermitRootLogin = "no";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user