fix: system build fixes for new package setup

This commit is contained in:
Greg Hellings
2026-05-13 08:33:48 -05:00
parent f735423d98
commit fc4430e4f1
5 changed files with 26 additions and 7 deletions
+7 -1
View File
@@ -15,11 +15,17 @@ let
}:
let
inherit (metadata.hosts.${name}) system;
pkgs' = top.self.packages.${system};
in
channel.lib.nixosSystem {
pkgs = nixpkgs.${system};
specialArgs = {
inherit metadata top lib';
inherit
metadata
top
lib'
pkgs'
;
};
modules = [
{
+7 -2
View File
@@ -2,7 +2,12 @@
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ top, pkgs, ... }:
{
top,
pkgs,
pkgs',
...
}:
{
imports = [
# Include the results of the hardware scan.
@@ -31,7 +36,7 @@
};
environment.systemPackages = with pkgs; [
create_ssl
pkgs'.create_ssl
step-ca
];
+7 -2
View File
@@ -1,7 +1,12 @@
{ config, pkgs, ... }:
{
config,
pkgs,
pkgs',
...
}:
{
environment.systemPackages = [ pkgs.upgrade-pg-cluster ];
environment.systemPackages = [ pkgs'.upgrade-pg-cluster ];
services.postgresql = {
enable = true;