add nocodb (untested)

This commit is contained in:
bc 2025-08-03 15:53:00 -05:00
parent 8c7c87968e
commit 3c1c585dc4
3 changed files with 52 additions and 8 deletions

View file

@ -1,15 +1,18 @@
{
inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable";
nocodb.url = "github:nocodb/nocodb";
};
outputs = { self, nixpkgs }@attrs: {
outputs = { self, nixpkgs, nocodb }@attrs: {
nixosConfigurations.matilda-gage = nixpkgs.lib.nixosSystem rec {
pkgs = import nixpkgs { inherit system; config = { allowUnfree = true; };};
system = "x86_64-linux";
modules = [ ./configuration.nix
# This fixes nixpkgs (for e.g. "nix shell") to match the system nixpkgs
({ config, pkgs, options, ... }: { nix.registry.nixpkgs.flake = nixpkgs; })
];
modules = [
./configuration.nix
nocodb.nixosModules.nocodb
# This fixes nixpkgs (for e.g. "nix shell") to match the system nixpkgs
({ config, pkgs, options, ... }: { nix.registry.nixpkgs.flake = nixpkgs; })
];
};
};
}