aboutsummaryrefslogtreecommitdiff
path: root/nixos/default.nix
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2026-10-17 17:15:45 +0200
committerMartin Fischer <martin@push-f.com>2026-10-18 07:26:05 +0200
commit93b196f86886ec0516f4e4146313cafcd8e817bf (patch)
treedbfc200d817db2279fa06b1e3a466fe83cba51d0 /nixos/default.nix
parent9237328fb09b2c18365bb5fcef1c4596d77973a9 (diff)
refactor: make workstation packages buildable via packages.*
Diffstat (limited to 'nixos/default.nix')
-rw-r--r--nixos/default.nix10
1 files changed, 10 insertions, 0 deletions
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; };
+ };
};
}