|
- {
- description = "Open Garden Cloud NixOS config flake";
- inputs = {
- nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
- #ogc.url = "github:youruser/ogc";
- ogc.url = "/home/ogc/share/nixos-ogc";
- ogc.inputs.nixpkgs.follows = "nixpkgs";
- };
- outputs = { self, nixpkgs, ogc, ... }: {
- nixosConfigurations.open-garden-cloud = nixpkgs.lib.nixosSystem {
- system = "x86_64-linux";
- modules = [
- ./configuration.nix
- #./hardware-configuration.nix
- # Pull in all services with their defaults
- ogc.nixosModules.default
- # Machine-specific configuration + any overrides
- ({ config, pkgs, ... }: {
- # Override any service defaults if this machine is different:
- # openldap.domain = "other-domain.com";
- # openldap.organization = "otherorg";
- # Disable a service on this particular machine:
- # openldap.enable = false;
- })
- ];
- };
- };
- }
|