From 0aca8ec32a95b08d5e888e2df52f931e6a544324 Mon Sep 17 00:00:00 2001 From: Marie Ramlow Date: Thu, 19 Sep 2024 17:41:09 +0200 Subject: [PATCH] fix colmena options --- flake.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index 3a7fa427..feb929e5 100644 --- a/flake.nix +++ b/flake.nix @@ -181,18 +181,19 @@ colmena = { meta = { - nixpkgs = import nixpkgs { system = "x86_64-linux"; }; + nixpkgs = nixpkgs.legacyPackages.x86_64-linux; specialArgs = { inherit inputs; }; - nodeNixpkgs.delphi = import nixpkgs { system = "aarch64-linux"; }; + nodeNixpkgs.delphi = nixpkgs.legacyPackages.aarch64-linux; }; artemis = { name, nodes, pkgs, ... }: { imports = [ ./hosts/artemis/configuration.nix self.nixosModules.config ]; - deployment.buildOnTarget = false; + deployment.buildOnTarget = true; deployment.targetUser = null; nixpkgs.overlays = [ self.overlays.default ]; + nixpkgs.flake.source = nixpkgs; }; delphi = { imports = [ @@ -202,6 +203,7 @@ deployment.buildOnTarget = true; deployment.targetUser = null; nixpkgs.overlays = [ self.overlays.default ]; + nixpkgs.flake.source = nixpkgs; }; gitlabber = { imports = [ @@ -212,6 +214,7 @@ deployment.buildOnTarget = true; deployment.targetUser = null; nixpkgs.overlays = [ self.overlays.default ]; + nixpkgs.flake.source = nixpkgs; }; }; };