Skip to content

Nix package for Debian and Ubuntu

License

Notifications You must be signed in to change notification settings

transumption/nix-for-apt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Nix package for Debian and Ubuntu

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published