Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

29 lines
957B

  1. {
  2. description = "Open Garden Cloud NixOS config flake";
  3. inputs = {
  4. nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
  5. #ogc.url = "github:youruser/ogc";
  6. ogc.url = "/home/ogc/share/nixos-ogc";
  7. ogc.inputs.nixpkgs.follows = "nixpkgs";
  8. };
  9. outputs = { self, nixpkgs, ogc, ... }: {
  10. nixosConfigurations.open-garden-cloud = nixpkgs.lib.nixosSystem {
  11. system = "x86_64-linux";
  12. modules = [
  13. ./configuration.nix
  14. #./hardware-configuration.nix
  15. # Pull in all services with their defaults
  16. ogc.nixosModules.default
  17. # Machine-specific configuration + any overrides
  18. ({ config, pkgs, ... }: {
  19. # Override any service defaults if this machine is different:
  20. # openldap.domain = "other-domain.com";
  21. # openldap.organization = "otherorg";
  22. # Disable a service on this particular machine:
  23. # openldap.enable = false;
  24. })
  25. ];
  26. };
  27. };
  28. }