Files

30 lines
1.2 KiB
Nix

{
description = "Utumno NixOS Configuration";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
# Pinned nixpkgs for packages HELD at the previous revision (see the "held
# packages" overlay in configuration.nix). This is the revision the running
# system was built with, so those derivations come out byte-identical and the
# already-built outputs are reused rather than rebuilt.
# sunshine: its pinned upstream tag was deleted by the maintainer (unfetchable)
# rpcs3: 0.0.42-unstable-2026-08-15 fails to compile with a GCC ICE
nixpkgs-held.url = "github:NixOS/nixpkgs/241313f4e8e508cb9b13278c2b0fa25b9ca27163";
hermes-agent = {
url = "git+file:///opt/hermes-agent-v2026.9.21-standalone";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, nixpkgs, nixpkgs-held, hermes-agent, ... }: {
nixosConfigurations.utumno = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { inherit hermes-agent nixpkgs-held; };
modules = [
./configuration.nix
({ pkgs, ... }: {
nixpkgs.overlays = [ hermes-agent.overlays.default ];
environment.systemPackages = [ pkgs.hermes-agent ];
})
];
};
};
}