This commit is contained in:
ChaotiCryptidz 2022-01-24 16:50:53 +00:00
parent 943be02db0
commit aff7a41105
5 changed files with 5 additions and 9 deletions

View file

@ -22,7 +22,8 @@
imports = with tree; [ home.base home.dev.small ]; 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"; networking.hostName = "raspberry";
time.timeZone = "Europe/London"; time.timeZone = "Europe/London";

View file

@ -62,7 +62,7 @@ in {
username = "root"; username = "root";
profiles.system = { profiles.system = {
user = "root"; user = "root";
path = deploy-rs.lib.aarch64-linux.activate.nixos path = deploy-rs.lib.x86_64-linux.activate.nixos
self.nixosConfigurations.raspberry; self.nixosConfigurations.raspberry;
}; };
}; };

View file

@ -1,6 +0,0 @@
{ ... }: {
nix.binaryCaches = [ "https://cachix.org/api/v1/cache/serokell" ];
nix.binaryCachePublicKeys =
[ "serokell.cachix.org-1:5DscEJD6c1dD1Mc/phTIbs13+iW22AVbx0HqiSb+Lq8=" ];
}

View file

@ -5,4 +5,5 @@
interpreter = lib.mkForce "${pkgs.qemu}/bin/qemu-aarch64"; interpreter = lib.mkForce "${pkgs.qemu}/bin/qemu-aarch64";
}; };
}; };
nix.sandboxPaths = [ "/run/binfmt" "${pkgs.qemu}" ];
} }

View file

@ -2,7 +2,7 @@
services.openssh = { services.openssh = {
enable = true; enable = true;
passwordAuthentication = false; passwordAuthentication = false;
kbdInteractiveAuthentication = false; challengeResponseAuthentication = false;
permitRootLogin = "prohibit-password"; permitRootLogin = "prohibit-password";
kexAlgorithms = [ "curve25519-sha256@libssh.org" ]; kexAlgorithms = [ "curve25519-sha256@libssh.org" ];
extraConfig = '' extraConfig = ''