From 63c076883076d6c4644be502a68886687184beeb Mon Sep 17 00:00:00 2001 From: iFargle Date: Sat, 9 Dec 2023 22:12:35 +0900 Subject: [PATCH] tes --- flake.nix | 6 +++--- lib/default.nix | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index 7f8885ee..87970172 100644 --- a/flake.nix +++ b/flake.nix @@ -75,9 +75,9 @@ framework-server = libx.deploy { hostname = "framework-server"; }; nixos-desktop = libx.deploy { hostname = "nixos-desktop"; }; nixos-framework = libx.deploy { hostname = "nixos-framework "; }; - nixos-rpi4-01 = libx.deploy { hostname = "nixos-rpi4-01"; }; - nixos-rpi4-02 = libx.deploy { hostname = "nixos-rpi4-02"; }; - nixos-rpi4-03 = libx.deploy { hostname = "nixos-rpi4-03"; }; + nixos-rpi4-01 = libx.deploy { hostname = "nixos-rpi4-01"; platform = "aarch64-linux"; }; + nixos-rpi4-02 = libx.deploy { hostname = "nixos-rpi4-02"; platform = "aarch64-linux"; }; + nixos-rpi4-03 = libx.deploy { hostname = "nixos-rpi4-03"; platform = "aarch64-linux"; }; }; checks = builtins.mapAttrs (system: deployLib: deployLib.deployChecks self.deploy) deploy-rs.lib; diff --git a/lib/default.nix b/lib/default.nix index fadeff73..a856e10d 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -6,7 +6,7 @@ username ? "albert" }: { user = "${username}"; - profiles.system.path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.${hostname}; + profiles.system.path = inputs.deploy-rs.lib.${platform}.activate.nixos self.nixosConfigurations.${hostname}; profiles.system.sshUser = "${username}"; };