Files
commoncomputing-nix/flake.nix
T
Anish Lakhwara a8ddc2ef34 Bump bluesky-pds to v0.4.219 and fix tangled service options
The deployed PDS was on v0.4.182 with a 50 MB blob upload limit, causing
upload failures for large images. Add an overlay that overrides bluesky-pds
to v0.4.219 (the latest tag in the bluesky-social/pds repo, ahead of
nixpkgs-unstable's 0.4.204) and set PDS_BLOB_UPLOAD_LIMIT explicitly to
100 MB.

Also fix `services.tangled-{knot,spindle}` -> `services.tangled.{knot,spindle}`
to match the option names exposed by the official tangled.org/@tangled.org/core
flake we import. The hyphenated names came from an older third-party flake
and have been causing every auto-update to fail since the tangled rev bumped
on Apr 20.
2026-04-26 16:24:59 -07:00

68 lines
1.5 KiB
Nix

{
description = "CommonsComputing Nix";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
tangled = {
url = "git+https://tangled.org/@tangled.org/core";
inputs.nixpkgs.follows = "nixpkgs";
};
agenix = {
url = "github:ryantm/agenix";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs =
{
self,
nixpkgs,
tangled,
agenix,
...
}@inputs:
let
inherit (self) outputs;
in
{
# Available through 'nixos-rebuild --flake .#your-hostname'
nixosConfigurations = {
asusmini = nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs outputs; };
system = "x86_64-linux";
modules = [
./hosts/asusmini
tangled.nixosModules.knot
tangled.nixosModules.spindle
agenix.nixosModules.default
{ nixpkgs.overlays = [ (import ./overlays) ]; }
];
};
};
devShells = {
aarch64-darwin.default =
let
pkgs = nixpkgs.legacyPackages.aarch64-darwin;
in
pkgs.mkShell {
packages = [
agenix.packages.aarch64-darwin.default
pkgs.dnscontrol
];
};
x86_64-linux.default =
let
pkgs = nixpkgs.legacyPackages.x86_64-linux;
in
pkgs.mkShell {
packages = [
agenix.packages.x86_64-linux.default
pkgs.dnscontrol
];
};
};
};
}