From 9237328fb09b2c18365bb5fcef1c4596d77973a9 Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Sat, 17 Oct 2026 11:14:02 +0200 Subject: refactor: make server packages buildable via packages.* --- nixos/default.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'nixos/default.nix') diff --git a/nixos/default.nix b/nixos/default.nix index e5090db..c164c7f 100644 --- a/nixos/default.nix +++ b/nixos/default.nix @@ -53,5 +53,14 @@ rec { standaloneConfigurations = mkConfigurations (host: host.standaloneModule) hostDefs; - standaloneSystems = mkSystems standaloneConfigurations; + packages = { + server = + let + pkgs = import sources.nixos-small.outPath { }; + in + pkgs.lib.packagesFromDirectoryRecursive { + directory = ./profiles/server/pkgs; + callPackage = pkgs.newScope { inherit sources; }; + }; + }; } -- cgit v1.3.1