e
This commit is contained in:
parent
943be02db0
commit
aff7a41105
|
@ -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";
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
{ ... }: {
|
|
||||||
nix.binaryCaches = [ "https://cachix.org/api/v1/cache/serokell" ];
|
|
||||||
|
|
||||||
nix.binaryCachePublicKeys =
|
|
||||||
[ "serokell.cachix.org-1:5DscEJD6c1dD1Mc/phTIbs13+iW22AVbx0HqiSb+Lq8=" ];
|
|
||||||
}
|
|
|
@ -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}" ];
|
||||||
}
|
}
|
||||||
|
|
|
@ -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 = ''
|
||||||
|
|
Loading…
Reference in a new issue