diff options
| author | Martin Fischer <martin@push-f.com> | 2026-10-17 11:14:02 +0200 |
|---|---|---|
| committer | Martin Fischer <martin@push-f.com> | 2026-10-18 07:25:43 +0200 |
| commit | 9237328fb09b2c18365bb5fcef1c4596d77973a9 (patch) | |
| tree | 55bbfd35140871166a52bbf01bb658c03ca127d6 /nixos/default.nix | |
| parent | f29ddff912ddcd58a4726736702b24655505ce09 (diff) | |
refactor: make server packages buildable via packages.*
Diffstat (limited to 'nixos/default.nix')
| -rw-r--r-- | nixos/default.nix | 11 |
1 files changed, 10 insertions, 1 deletions
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; }; + }; + }; } |
