From 5739ac294a28a82fc968ce1769939b921865dff9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Sun, 3 Dec 2023 13:52:12 +0000 Subject: [PATCH] don't hardcode system on foryog --- nixos/boxes/foryog/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/nixos/boxes/foryog/default.nix b/nixos/boxes/foryog/default.nix index 6dd5c023..6f69a18e 100644 --- a/nixos/boxes/foryog/default.nix +++ b/nixos/boxes/foryog/default.nix @@ -3,6 +3,7 @@ pkgs, inputs, lib, + system, ... }: { networking.hostName = "foryog"; @@ -78,9 +79,9 @@ ../../home-manager/programs/kitty.nix ../../home-manager/programs/helix.nix ]; - home.packages = with inputs.nixpkgs-master.legacyPackages."x86_64-linux"; - [bisq-desktop] + home.packages = + (with inputs.nixpkgs-master.legacyPackages."${system}"; [bisq-desktop]) ++ (with pkgs; [lutris]) - ++ (with inputs.endless-sky.legacyPackages."x86_64-linux"; [endless-sky]); + ++ (with inputs.endless-sky.legacyPackages."${system}"; [endless-sky]); }; }