18 lines
602 B
Nix
18 lines
602 B
Nix
{
|
|
inputs = {
|
|
nixpkgs.url = "nixpkgs/nixos-unstable";
|
|
nocodb.url = "github:nocodb/nocodb";
|
|
};
|
|
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
|
|
nocodb.nixosModules.nocodb
|
|
# This fixes nixpkgs (for e.g. "nix shell") to match the system nixpkgs
|
|
({ config, pkgs, options, ... }: { nix.registry.nixpkgs.flake = nixpkgs; })
|
|
];
|
|
};
|
|
};
|
|
}
|