From 768820020cb164dbc71f9e42b37bfcd7a13463ff Mon Sep 17 00:00:00 2001 From: David Crompton Date: Fri, 12 Jul 2024 10:23:59 -0400 Subject: [PATCH] Back to hostPlatform --- flake.nix | 8 ++++---- machines/ptv/configuration.nix | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/flake.nix b/flake.nix index 41a4951..a9f6c3f 100644 --- a/flake.nix +++ b/flake.nix @@ -66,10 +66,10 @@ ./machines/ptv/configuration.nix patch-8gb { - nixpkgs.crossSystem = { - config = "riscv64-unknown-linux-gnu"; - system = "riscv64-linux"; - }; + # nixpkgs.crossSystem = { + # config = "riscv64-unknown-linux-gnu"; + # system = "riscv64-linux"; + # }; } ]; }; diff --git a/machines/ptv/configuration.nix b/machines/ptv/configuration.nix index 3963c80..099ec28 100644 --- a/machines/ptv/configuration.nix +++ b/machines/ptv/configuration.nix @@ -11,7 +11,7 @@ in { systemd.services."getty@tty0".wantedBy = lib.mkDefault [ "getty.target" ]; system.stateVersion = "24.05"; - # nixpkgs.hostPlatform = "riscv64-linux"; + nixpkgs.hostPlatform = "riscv64-linux"; networking.hostName = "ptv"; nix.registry.nixpkgs.flake = inputs.nixpkgs-stable; nix.settings.experimental-features = [ "nix-command" "flakes" ];