diff --git a/hosts/raspberry/raspberry.nix b/hosts/raspberry/raspberry.nix index 4170baf..c761ece 100644 --- a/hosts/raspberry/raspberry.nix +++ b/hosts/raspberry/raspberry.nix @@ -22,7 +22,8 @@ imports = with tree; [ home.base home.dev.small ]; }; - boot.kernelPackages = pkgs.linuxKernel.kernels.linux_5_15; + boot.kernelPackages = pkgs.linuxPackages_5_15; + networking.hostName = "raspberry"; time.timeZone = "Europe/London"; diff --git a/outputs.nix b/outputs.nix index 9d49835..21fd608 100644 --- a/outputs.nix +++ b/outputs.nix @@ -62,7 +62,7 @@ in { username = "root"; profiles.system = { user = "root"; - path = deploy-rs.lib.aarch64-linux.activate.nixos + path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.raspberry; }; }; diff --git a/profiles/base/deployrs.nix b/profiles/base/deployrs.nix deleted file mode 100644 index 0e0c870..0000000 --- a/profiles/base/deployrs.nix +++ /dev/null @@ -1,6 +0,0 @@ -{ ... }: { - nix.binaryCaches = [ "https://cachix.org/api/v1/cache/serokell" ]; - - nix.binaryCachePublicKeys = - [ "serokell.cachix.org-1:5DscEJD6c1dD1Mc/phTIbs13+iW22AVbx0HqiSb+Lq8=" ]; -} diff --git a/profiles/cross/arm64.nix b/profiles/cross/arm64.nix index 62e50c9..feb46ef 100644 --- a/profiles/cross/arm64.nix +++ b/profiles/cross/arm64.nix @@ -5,4 +5,5 @@ interpreter = lib.mkForce "${pkgs.qemu}/bin/qemu-aarch64"; }; }; + nix.sandboxPaths = [ "/run/binfmt" "${pkgs.qemu}" ]; } diff --git a/profiles/sshd/sshd.nix b/profiles/sshd/sshd.nix index e6ec902..7cc94de 100644 --- a/profiles/sshd/sshd.nix +++ b/profiles/sshd/sshd.nix @@ -2,7 +2,7 @@ services.openssh = { enable = true; passwordAuthentication = false; - kbdInteractiveAuthentication = false; + challengeResponseAuthentication = false; permitRootLogin = "prohibit-password"; kexAlgorithms = [ "curve25519-sha256@libssh.org" ]; extraConfig = ''