fix nixos machines without hostPlatform

This commit is contained in:
Jörg Thalheim
2024-09-29 19:51:41 +02:00
parent 349db434fc
commit 036918aae2
5 changed files with 8 additions and 2 deletions

View File

@@ -10,7 +10,6 @@
{
pkgs,
lib,
config,
...
}:
let
@@ -30,6 +29,7 @@
clan.core.networking.targetHost = "machine";
networking.hostName = "machine";
services.openssh.settings.UseDns = false;
nixpkgs.hostPlatform = "x86_64-linux";
programs.ssh.knownHosts = {
machine.hostNames = [ "machine" ];