1
0

Compare commits

...

3 Commits

Author SHA1 Message Date
f62ceb8d2f hosts/osmium: Enable cross compiling 2023-04-16 15:31:30 +02:00
197e13306d configuration/common: Migrate sshd options 2023-04-16 15:31:07 +02:00
b2ca7d4c3c flake: Update nixpkgs 2023-04-16 15:30:32 +02:00
3 changed files with 13 additions and 7 deletions

View File

@ -52,9 +52,11 @@
}; };
services.openssh.enable = true; services.openssh.enable = true;
services.openssh.passwordAuthentication = false; services.openssh.settings = {
services.openssh.kbdInteractiveAuthentication = false; passwordAuthentication = false;
services.openssh.permitRootLogin = lib.mkDefault "no"; kbdInteractiveAuthentication = false;
permitRootLogin = lib.mkDefault "no";
};
nix.gc = lib.mkDefault { nix.gc = lib.mkDefault {
automatic = true; automatic = true;

View File

@ -22,11 +22,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1675183161, "lastModified": 1681557730,
"narHash": "sha256-Zq8sNgAxDckpn7tJo7V1afRSk2eoVbu3OjI1QklGLNg=", "narHash": "sha256-j2E3639kS3Qop2jQPyqWCdenZNaqIdxfoTvAHnGuAGI=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "e1e1b192c1a5aab2960bf0a0bd53a2e8124fa18e", "rev": "85b081528b937df4bfcaee80c3541b58f397df8b",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@ -11,7 +11,11 @@
boot.loader.grub.version = 2; boot.loader.grub.version = 2;
boot.loader.grub.device = "/dev/vda"; boot.loader.grub.device = "/dev/vda";
boot.binfmt.emulatedSystems = [ "aarch64-linux" ]; boot.binfmt.emulatedSystems = [
"armv6l-linux"
"armv7l-linux"
"aarch64-linux"
];
networking.hostName = "osmium"; networking.hostName = "osmium";