zimbatm
0b362172fb
nix: introduce fake nixpkgs ( #9 )
...
Since <nixpkgs> wasn't working, might as well make the error more
explicit. That way, users are quickly aware if they forgot to pin their
nixpkgs.
2020-06-17 20:49:42 +00:00
Badi Abdul-Wahid
0f24a9c94a
images/nix: make sure /root exists
...
some external uses of the final image (eg drone) assume that $HOME
exists and attempt to write to it.
2020-06-14 12:53:50 +02:00
Badi Abdul-Wahid
9f6b62f45b
images/nix: initialize env for bash
...
Prior the shell was not sourcing `/etc/profile.d/nix.sh` because,
although ENV is set, it will only be used if bash is invoked in
posix mode (either as `sh` or with `--posix`).
2020-06-14 12:53:29 +02:00
zimbatm
53440b208e
nix: add USER environment variable
...
This is required by the nix profile and cachix as well
2020-02-23 20:10:52 +01:00
zimbatm
669e1a3129
nix: fix /tmp permissions
...
The /tmp folder was missing the sticky bit
2020-02-23 20:10:16 +01:00
zimbatm
8ceae9d833
fixup! nix: openssh is a runtime dependency of git
2020-02-23 17:20:47 +01:00
zimbatm
db90bcb3e9
nix: openssh is a runtime dependency of git
2020-02-23 17:14:57 +01:00
zimbatm
ab443863a5
add cachix
2020-02-23 14:58:30 +01:00
zimbatm
e58ed5052b
nix: add NIX_BUILD_SHELL
...
This is useful to avoid having nix-shell evaluate nixpkgs twice.
2020-02-07 21:35:56 +01:00
zimbatm
751d7a6714
devcontainer: init
2019-12-20 12:28:21 +01:00
zimbatm
c45c53b8c4
nix: select current nixpkgs version
...
a nixos-18.09 image should default to the same nixpkgs version
2019-12-15 15:57:42 +01:00
zimbatm
39694ed1d8
nixpkgs-fmt
2019-12-15 15:20:42 +01:00
zimbatm
77f9b50c78
nix: smaller closure
...
Thanks to https://gist.github.com/tomberek/53a1f50def192cc924672eddda3719c7#file-docker-helper-nix-L146-L151
2019-12-15 15:16:21 +01:00
zimbatm
fd0323f40f
move images into ./images
...
having a folder with all of the images makes things easier
2019-03-16 14:50:00 +01:00