2024-02-16 01:05:07 +01:00
|
|
|
{
|
|
|
|
description = "Forgejo flake";
|
|
|
|
inputs = {
|
2024-07-01 21:08:29 +02:00
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
|
2024-02-16 01:05:07 +01:00
|
|
|
};
|
|
|
|
outputs = { self, nixpkgs }@inputs: {
|
|
|
|
nixosConfigurations = {
|
|
|
|
"forgejo" = nixpkgs.lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
modules = [
|
|
|
|
# Import the configuration.nix here, so that the
|
|
|
|
# old configuration file can still take effect.
|
|
|
|
# Note: configuration.nix itself is also a Nixpkgs Module,
|
|
|
|
./configuration.nix
|
|
|
|
];
|
|
|
|
specialArgs = {
|
|
|
|
inherit inputs;
|
|
|
|
flake = self;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|