From 93b196f86886ec0516f4e4146313cafcd8e817bf Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Sat, 17 Oct 2026 17:15:45 +0200 Subject: refactor: make workstation packages buildable via packages.* --- nixos/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'nixos/default.nix') diff --git a/nixos/default.nix b/nixos/default.nix index c164c7f..7a3d1bf 100644 --- a/nixos/default.nix +++ b/nixos/default.nix @@ -62,5 +62,15 @@ rec { directory = ./profiles/server/pkgs; callPackage = pkgs.newScope { inherit sources; }; }; + + workstation = + let + pkgs = import sources.nixos.outPath { }; + pkgs-unstable = import sources.nixos-unstable.outPath { }; + in + pkgs.lib.packagesFromDirectoryRecursive { + directory = ./profiles/workstation/pkgs; + callPackage = pkgs.newScope { inherit (pkgs-unstable) pi-coding-agent; }; + }; }; } -- cgit v1.3.1