Nick Boultbee
8fab1455c9
Fix iproute -> iproute2
2024-12-02 15:00:03 +00:00
Nick Boultbee
f2d5bd9472
Fix deprecated nix versions vars
2024-12-02 14:59:59 +00:00
Domen Kožar
891a767f37
add devenv image ( #81 )
2024-07-16 08:30:16 +02:00
Manuel
e7ea2bae4f
[nix-flakes] add ~/.nix-profile/bin to PATH ( #51 )
...
See https://github.com/nix-community/docker-nixpkgs/issues/50
2024-06-08 08:30:40 +02:00
zimbatm
f6b4921246
nix-unstable: use nixVersions.latest by default
...
Release management has changed a bit and there is no nixUnstable
anymore.
2024-06-08 08:28:26 +02:00
Narek Asadorian
ce8ad614ce
Fix broken link in error message ( #70 )
2023-11-28 12:07:05 +01:00
Jonas Chevalier
30ea4a75cd
devcontainer: fix build on nixos-unstable ( #64 )
2023-07-18 17:31:21 +02:00
zimbatm
f0ddafd597
nix-unstable-static: enable nix flakes
2022-06-29 18:18:14 +02:00
zimbatm
ac55a180db
nix-unstable-static: ship with complementary user script
2022-06-29 17:00:08 +02:00
zimbatm
bb3cbda9f3
nix-unstable-static: add run_as_user.sh script
...
Allow to run nix as a user.
2022-06-29 16:42:49 +02:00
zimbatm
d884d77087
nix-unstable-static: use bash interactive
...
Make it more useful
2022-06-29 16:34:15 +02:00
zimbatm
272875d0af
feat: add nix-unstable-static docker image
...
This is a special docker images that contains no /nix/store. And only
static binaries in /bin.
The main use-case is to be able to bind-mount /nix from the host
into the container.
2022-06-27 17:05:13 +02:00
V7
c52fdf233b
feat: Allow Nix to accept nixConfig
by default ( #37 )
...
This is useful when Nix (with Flakes enabled) is used with Continuous Integration in order to perform actions on a project having `nixConfig` defined in `flake.nix`
2022-01-14 20:26:04 +01:00
zimbatm
d0ece3e2a4
remove couchepotato
...
Upstream is dead and it has been removed from nixpkgs
2022-01-04 13:28:04 +01:00
maydayv7
32575d2810
fix(cachix-flakes): Enable Nix experimental-features
2021-12-27 16:17:50 +05:30
maydayv7
c51f4417ec
fix(nix-flakes): Make extraContents
extensible
2021-12-27 16:17:35 +05:30
zimbatm
887722a603
nix-flakes: enable flakes in the config
...
Fixes #18
2021-03-08 12:18:43 +01:00
zimbatm
e850799428
nixpkgs-fmt
2021-03-08 12:17:56 +01:00
zimbatm
7d21997381
Revert "Adding gnugrep to cachix ( #14 )"
...
This reverts commit 415031b849
.
It wasn't really needed actually.
2021-02-10 10:36:16 +01:00
Andika Demas Riyandi
415031b849
Adding gnugrep to cachix ( #14 )
...
I have seen in `install-cachix-actions` that you use gnugrep. While we cannot do `nix-env -iA nixpkgs.gnugrep` inside the image, I prefer to put gnugrep by default in `cachix` image.
2021-02-10 09:24:37 +01:00
zimbatm
a720d8ee4f
remove 19.03 and 19.09 channels
...
Those are not receiving any more updates. Fix Nix invocations.
2020-07-07 13:00:21 +02:00
zimbatm
061bb32ed2
add cachix-flakes image
2020-07-07 12:09:39 +02:00
zimbatm
9519ca2731
fake_nixpkgs: add link to doc
2020-06-29 14:54:59 +02:00
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
cca23be027
hugo: add git as a dependency
...
Hugo needs Git to find meta informations such as the pubDate
2020-02-23 17:03:28 +01:00
zimbatm
889fb542e6
cachix: fix build on 19.09 and under
2020-02-23 16:21:08 +01:00
zimbatm
3d793011e6
cachix: fix the description
2020-02-23 15:12:47 +01:00
zimbatm
ab443863a5
add cachix
2020-02-23 14:58:30 +01:00
zimbatm
777ae73ea1
add hugo
2020-02-23 14:54:32 +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
1305bc0290
add nix-flakes
2020-02-07 21:34:30 +01:00
zimbatm
b749d9b211
add caddy
2020-01-27 15:18:32 +01:00
zimbatm
5fc2cb9960
devcontainer: add a proper pager
...
The image is already quite big, why not add a proper pager?
2019-12-25 16:46:16 +01:00
zimbatm
4eefbd763a
devcontainer: sedutil -> gnused
...
might as well use GNU tools like on other Linux distros
2019-12-24 14:26:45 +01:00
zimbatm
91703f92f2
devcontainer: -direnv, +procps
...
it wasn't such a good idea to add direnv by default
2019-12-24 14:15:21 +01:00
zimbatm
cc193359bb
devcontainer: add /home folder
...
useradd breaks if /home doesn't exist
2019-12-21 09:07:30 +01:00
zimbatm
3f1e51533a
devcontainer: add grep and direnv
2019-12-20 22:07:10 +01:00
zimbatm
ddd995d1fd
devcontainer: remove sudo
...
sudo is not needed in the end
2019-12-20 20:09:02 +01:00
zimbatm
5e724edccd
devcontainer: use the right channel informations
...
<nixpkgs> is already resolved from channel:nixos-19.09 to a store path
as nix evaluation time.
2019-12-20 18:38:07 +01:00
zimbatm
8014dcc5af
devcontainer: vscode depends on sed
2019-12-20 12:39:59 +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