No description
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Salar Rahmanian 512f9c1835
Merge pull request #3 from softinio/push-zsrupozqvlpr
Make uv overlay usable as it was a wip
2025-07-04 22:26:48 -07:00
pkgs/uv cleanup and corrections to make overlays usable 2025-03-02 19:24:47 -08:00
CLAUDE.md Make uv overlay usable as it was a wip 2025-07-04 21:30:58 -07:00
default.nix Make uv overlay usable as it was a wip 2025-07-04 21:30:58 -07:00
flake.lock cleanup and corrections to make overlays usable 2025-03-02 19:24:47 -08:00
flake.nix Make uv overlay usable as it was a wip 2025-07-04 21:30:58 -07:00
LICENSE Initial commit 2025-02-21 19:26:58 -08:00
README.md Make uv overlay usable as it was a wip 2025-07-04 21:30:58 -07:00

nix-overlays

Collection of reusable Nix overlays and package definitions for external projects.

Available Overlays

  • uv: Python package manager and installer (version 0.6.0)

Usage

With Flakes

You can use these overlays in your flake-based projects in several ways:

Using specific overlays

{
  inputs = {
    nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
    nix-overlays.url = "github:softinio/nix-overlays";
  };

  outputs = { self, nixpkgs, nix-overlays }: {
    # Example for NixOS configuration
    nixosConfigurations.mySystem = nixpkgs.lib.nixosSystem {
      system = "x86_64-linux";
      modules = [
        ({ pkgs, ... }: {
          nixpkgs.overlays = [
            nix-overlays.overlays.uv
          ];
        })
      ];
    };
  };
}

Using all overlays together

{
  inputs = {
    nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
    nix-overlays.url = "github:softinio/nix-overlays";
  };

  outputs = { self, nixpkgs, nix-overlays }: {
    # Example for NixOS configuration
    nixosConfigurations.mySystem = nixpkgs.lib.nixosSystem {
      system = "x86_64-linux";
      modules = [
        ({ pkgs, ... }: {
          nixpkgs.overlays = [
            nix-overlays.overlays.default
          ];
        })
      ];
    };
  };
}

Directly using packages

{
  inputs = {
    nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
    nix-overlays.url = "github:softinio/nix-overlays";
  };

  outputs = { self, nixpkgs, nix-overlays }:
  let
    system = "x86_64-linux"; # or your preferred system
    pkgs = nixpkgs.legacyPackages.${system};
  in {
    # Example for accessing a package directly
    packages.${system}.default = nix-overlays.packages.${system}.uv;
  };
}

Without Flakes

For traditional Nix usage without flakes:

# In your configuration.nix or shell.nix
let
  nix-overlays = builtins.fetchTarball {
    url = "https://github.com/softinio/nix-overlays/archive/main.tar.gz";
  };
  overlays = import "${nix-overlays}/default.nix" { };
in
{
  nixpkgs.overlays = [
    overlays.default  # or overlays.uv for specific overlay
  ];
}