All Projects → kampka → nixify

kampka / nixify

Licence: MIT license
Bootstrap nix-shell environments

Programming Languages

shell
77523 projects
Nix
1067 projects
Makefile
30231 projects

Projects that are alternatives of or similar to nixify

laptop
💻 Handy Dandy macOS Environment Setup
Stars: ✭ 41 (+64%)
Mutual labels:  nix, development-environment
nanobox-rails
Quickly set up a Ruby on Rails app on Nanobox, the ideal platform for developers. With Nanobox, Rails app developers can set up instant, isolated development environments that can be shared among team members. Rails apps created using Nanobox can be automatically deployed to AWS, Azure, Google Cloud, and other cloud hosts without the need for de…
Stars: ✭ 19 (-24%)
Mutual labels:  development-workflow, development-environment
nix-home
A nix home development environment
Stars: ✭ 16 (-36%)
Mutual labels:  nix, development-environment
Koding
The Simplest Way to Manage Your Entire Dev Infrastructure!
Stars: ✭ 1,945 (+7680%)
Mutual labels:  development-workflow, development-environment
nix-env-selector
Allows switch environment for Visual Studio Code using Nix Package Manager.
Stars: ✭ 154 (+516%)
Mutual labels:  nix, nix-shell
All Hies
Cached Haskell IDE Engine Nix builds for all GHC versions
Stars: ✭ 201 (+704%)
Mutual labels:  nix
Mach Nix
Create highly reproducible python environments
Stars: ✭ 231 (+824%)
Mutual labels:  nix
Nix Index
Quickly locate nix packages with specific files
Stars: ✭ 197 (+688%)
Mutual labels:  nix
Emacs Overlay
Bleeding edge emacs overlay [[email protected]]
Stars: ✭ 194 (+676%)
Mutual labels:  nix
gradle2nix
Generate Nix expressions which build Gradle-based projects.
Stars: ✭ 71 (+184%)
Mutual labels:  nix
rc
Structured system configuration (I moved from NixOS to GuixSD)
Stars: ✭ 97 (+288%)
Mutual labels:  nix
Cabal2nix
Generate Nix build instructions from a Cabal file
Stars: ✭ 222 (+788%)
Mutual labels:  nix
Arion
Run docker-compose with help from Nix/NixOS
Stars: ✭ 202 (+708%)
Mutual labels:  nix
Nox
Tools to make nix nicer to use
Stars: ✭ 232 (+828%)
Mutual labels:  nix
Zkeme80
An assembler and operating system for the TI-84+ written in Scheme, Forth and Z80 assembly.
Stars: ✭ 200 (+700%)
Mutual labels:  nix
rust-nix-templater
Generates Nix build / dev files for Rust projects.
Stars: ✭ 49 (+96%)
Mutual labels:  nix
Getting Started Nix Template
Based on nix.dev tutorials, repository template to get you started with Nix.
Stars: ✭ 196 (+684%)
Mutual labels:  nix
Site
The new frontend/backend code for https://christine.website
Stars: ✭ 220 (+780%)
Mutual labels:  nix
dotfiles
My NixOS configuration featuring awesome and neovim
Stars: ✭ 40 (+60%)
Mutual labels:  nix
Nix 1p
A (more or less) one page introduction to Nix, the language.
Stars: ✭ 219 (+776%)
Mutual labels:  nix

nixify

Helps bootstrapping an opinionated nix-shell environment by creating a minimal shell.nix file and setting up an auto-env configuration for it.

Installation

nixify can be installed via the Nix User Repository

$ nix-env -iA nur.repos.kampka.nixify

or

$ nix-shell -p nur.repos.kampka.nixify

or

{
    # /etc/nixos/configuration.nix
    environment.systemPackages = [
      kampka.nixify
    ];
}

Usage:

$ echo $PATH
/run/wrappers/bin:/etc/profiles/per-user/user/bin:/home/user/.nix-profile/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin
$ mkdir my-project
$ nixify -p my-project my-project
Add nix expressions to your nix shell...
$ cd my-project
these derivations will be built:
  /nix/store/dljgnw4ii05dlb5i0xfpz30acl3j52kx-foobar.drv
these paths will be fetched (102.76 MiB download, 335.19 MiB unpacked):
  /nix/store/04c6780m5fgbfcwbnjl3qcmqzmdsn98m-rustc-1.24.0
copying path '/nix/store/04c6780m5fgbfcwbnjl3qcmqzmdsn98m-rustc-1.24.0' from 'https://cache.nixos.org'...
building '/nix/store/dljgnw4ii05dlb5i0xfpz30acl3j52kx-foobar.drv'...
created 2 symlinks in user environment
$ echo "$PATH"
/nix/store/y5rlyv6nz8134s687d95ysc2gakwx7am-patchelf-0.9/bin:/nix/store/rf7pnq8qk9bkjpl4s2pm5dm2pk4yqhrc-paxctl-0.9/bin:/nix/store/gqg2vrcq7krqi9rrl6pphvsg81sb8pjw-gcc-wrapper-7.3.0/bin:/nix/store/bm7pb1s7rx1ad80706b5xqrznq7fgpgx-gcc-7.3.0/bin:/nix/store/6ca5dl2wy0nh37li1n4b152fcazsp3f6-glibc-2.26-131-bin/bin:/nix/store/cb3slv3szhp46xkrczqw7mscy5mnk64l-coreutils-8.29/bin:/nix/store/cmxaqb5cbzy4jk26na842n6hy1s4yn19-binutils-wrapper-2.28.1/bin:/nix/store/b0zlxla7dmy1iwc3g459rjznx59797xy-binutils-2.28.1/bin:/nix/store/6ca5dl2wy0nh37li1n4b152fcazsp3f6-glibc-2.26-131-bin/bin:/nix/store/cb3slv3szhp46xkrczqw7mscy5mnk64l-coreutils-8.29/bin:/nix/store/04c6780m5fgbfcwbnjl3qcmqzmdsn98m-rustc-1.24.0/bin:/nix/store/cb3slv3szhp46xkrczqw7mscy5mnk64l-coreutils-8.29/bin:/nix/store/364b5gkvgrm87bh1scxm5h8shp975n0r-findutils-4.6.0/bin:/nix/store/cg3yhpr5hfr00y0aah23pgxiijpzl6nz-diffutils-3.6/bin:/nix/store/navldm477k3ar6cy0zlw9rk43i459g69-gnused-4.4/bin:/nix/store/s63b2myh6rxfl4aqwi9yxd6rq66djk33-gnugrep-3.1/bin:/nix/store/j79xs2j519bmvq0gihz8ff4nw5aj3vlh-gawk-4.2.0/bin:/nix/store/2p00w952ljb1172nsf3jm7nsjgsw5qpw-gnutar-1.30/bin:/nix/store/d7895h1an2pgcd6a3vx3yb5fbg786lci-gzip-1.9/bin:/nix/store/qqv6r9vkpb44rw5d8wyfpx64rgqzlvdm-bzip2-1.0.6.0.1-bin/bin:/nix/store/lhp5rw0dagi5mgqwr9i3x41240ba4ypz-gnumake-4.2.1/bin:/nix/store/zqh3l3lyw32q1ayb15bnvg9f24j5v2p0-bash-4.4-p12/bin:/nix/store/gd1mp76qr4zpbw3lccivhvi30b025x51-patch-2.7.6/bin:/nix/store/aakgkcvw6j54zg38zrn1w00sgxx0zj8b-xz-5.2.3-bin/bin:/home/user/bin:/run/wrappers/bin:/etc/profiles/per-user/user/bin:/home/user/.nix-profile/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin

$ hack hack hack ...
$ cd $HOME
$ echo $PATH
/run/wrappers/bin:/etc/profiles/per-user/user/bin:/home/user/.nix-profile/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin

For details about developing with nix-shell, have a look at the 10th Nix pill: Developing with nix-shell

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].