Skip to content

ondt/nur-packages

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build and populate cache Cachix Cache

Available packages

Channels

  • channel:nixos-unstable

Adding the NUR repository

# /etc/nixos/configuration.nix
{
    nixpkgs.config.packageOverrides = pkgs: {
        nur = import (builtins.fetchTarball "https://github.com/nix-community/NUR/archive/master.tar.gz") {
            inherit pkgs;
        };
    };
}

Adding the NUR repository as a channel

sudo nix-channel --add https://github.com/nix-community/NUR/archive/master.tar.gz nur
sudo nix-channel --update
# /etc/nixos/configuration.nix
{
    nixpkgs.config.packageOverrides = pkgs: {
        nur = import <nur> {
            inherit pkgs;
        };
    };
}

Adding the binary cache

# /etc/nixos/configuration.nix
{
    nix = {
        binaryCaches = [ "https://ondt.cachix.org" ];
        binaryCachePublicKeys = [ "ondt.cachix.org-1:bfVL4zF1qPjwrhAITTRqE7ZHEjNrBkqrb28ffYatMJk=" ];
    };
}

Installing a package

# /etc/nixos/configuration.nix
{
    environment.systemPackages = with pkgs; [
        nur.repos.ondt.lemonade
    ];
}

About

ondt's Nix User Repository

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages