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
+2
View File
@@ -10,6 +10,7 @@ let
let
inherit (metadata.hosts.${host}) system;
pkgs = nixpkgs.${system};
pkgs' = top.self.packages.${system};
username =
if builtins.hasAttr "user" metadata.hosts.${host} then metadata.hosts.${host}.user else "greg";
in
@@ -25,6 +26,7 @@ let
host
username
metadata
pkgs'
;
nixvim = top.nixvimunstable;
gui = false;
+3 -2
View File
@@ -1,5 +1,6 @@
{
pkgs,
pkgs',
lib,
host ? "most",
top,
@@ -38,7 +39,7 @@ in
gh
git
gnupatch
hms
pkgs'.hms
btop
inetutils
jq
@@ -46,7 +47,7 @@ in
nix-prefetch
nmap
openssl
setup-ssh
pkgs'.setup-ssh
tmux
tree
unzip
+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;