working hermes in a docker container

This commit is contained in:
ari committed 2026-06-29 10:14:41 -04:00
1 parent f8874f6e15
commit a9eaaafa93
5 files changed
+38 -49

No files matched your search

+8 -10
View File
@@ -11,7 +11,10 @@
, specialArgs
}:
let
skygUtils = import ./skyg-utils.nix;
skygUtils = import ./skyg-utils.nix {
pkgs = allPkgs.x86_64-linux;
lib = nixpkgs.lib;
};
eachSystem = nixpkgs.lib.genAttrs (import systems);
allPkgs = eachSystem (
system:
@@ -28,11 +31,6 @@ let
}
);
# Build nixosUtils with access to pkgs and lib
nixosUtils = import ./nixos-utils.nix {
pkgs = allPkgs.x86_64-linux;
lib = nixpkgs.lib;
};
osModules = [
determinate.nixosModules.default
stylix.nixosModules.stylix
@@ -66,7 +64,7 @@ in
home-manager.lib.homeManagerConfiguration {
inherit pkgs;
extraSpecialArgs = specialArgs // {
inherit system skygUtils nixosUtils;
inherit system skygUtils;
user = userConfig;
unstablePkgs = nixpkgs-unstable.legacyPackages.${system};
};
@@ -88,7 +86,7 @@ in
, configuration ? [ ]
}: nixpkgs.lib.nixosSystem {
specialArgs = specialArgs // {
inherit system skygUtils nixosUtils user;
inherit system skygUtils user;
unstablePkgs = nixpkgs-unstable.legacyPackages.${system};
};
inherit system;
@@ -110,7 +108,7 @@ in
, configuration ? [ ]
}: nixpkgs.lib.nixosSystem {
specialArgs = specialArgs // {
inherit system skygUtils nixosUtils user;
inherit system skygUtils user;
unstablePkgs = nixpkgs-unstable.legacyPackages.${system};
};
inherit system;
@@ -138,7 +136,7 @@ in
nix-darwin.lib.darwinSystem {
inherit system;
specialArgs = specialArgs // {
inherit system skygUtils nixosUtils user;
inherit system skygUtils user;
unstablePkgs = nixpkgs-unstable.legacyPackages.${system};
};
modules = [
-15
View File
@@ -1,15 +0,0 @@
{ pkgs, lib }:
{
# YAML validation helper — validates YAML syntax at build time
validateYaml = name: content:
let
validated = pkgs.runCommand "${name}-validated" { } ''
${pkgs.yq}/bin/yq eval -e '.' > /dev/null <<'EOF'
${content}
EOF
echo "${content}" > $out
'';
in
validated;
}
+1
View File
@@ -1,3 +1,4 @@
{ pkgs, lib }:
{
makeHyperlinkScriptToConfigs =
{ filePath