Skip to content
Nix package for Debian and Ubuntu
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
nix @ fa17d40
.gitlab-ci.yml
.gitmodules
COPYING
README.md
keygen
logo.svg

README.md

Setup

wget -O - https://transumption.gitlab.io/nix-for-apt/key.asc | sudo apt-key add -
echo 'deb [arch=amd64] http://transumption.gitlab.io/nix-for-apt buster main' \
  | sudo tee /etc/apt/sources.list.d/nix.list

sudo apt update
sudo apt install nix

See README.Debian for usage.

CI

If you want to set up your own instance of this CI, you will need to set APT_KEY protected variable to Base64-encoded secret GPG key.

To generate a new key, run:

(
  export GNUPGHOME=$(mktemp -d)
  gpg1 --batch --gen-key keygen
  gpg1 --export-secret-keys | (base64 -w0; echo)
)

If you plan to serve the repo to Debian users, I'd recommend to disable "Settings -> Pages -> Force HTTPS" GitLab option, otherwise it will require apt-transport-https package to be manually installed first.

Thanks

All of the packaging work has been done by Thomas Koch.

You can’t perform that action at this time.