Commit Graph

79 Commits

Author SHA1 Message Date
lassulus
90c20db183 add filename option 2020-05-22 16:58:04 +02:00
Evan Stoll
ca2b26afab add Hyper-V image format to docs
Differentiate Azure and Hyper-V image formats
Azure currently refers to Generation 1/VHD images, whereas Hyper-V refers to Generation 2/VHDX images
2020-05-20 19:56:01 -04:00
Evan Stoll
c10399844a add hyperv format 2020-05-20 19:55:51 -04:00
lassulus
619bc361b2 README: expand raw image description 2020-05-11 10:02:39 +02:00
lassulus
6ca87aa8e6 formats: add raw-efi 2020-05-10 19:32:33 +02:00
Sebastien Bariteau
c26fd82c4a
doc: qcow is the format name not qcow2 (#52) 2020-05-10 13:33:05 +00:00
Arnout Engelen
229d236d4d Don't necessarily include pkgs.stdenv in lxc image
It's not needed for all lxc images, and for those where it is
it can be easily added to the configuration.nix for that image.

This makes for a smaller image, as gcc alone is 140M.
2020-03-23 17:31:12 +01:00
zimbatm
942232e300 nixos-generators: add --show-trace option
This flag is available on all nix-related commands. Migth as well have
it too!
2019-12-20 08:30:09 +01:00
zimbatm
8d3710924a
Merge pull request #48 from MaCXyLo/master
add support for gitlab ci
2019-12-15 18:52:21 +00:00
MaCXyLo oLyXCaM
65a9651f52 correct variable for artifact upload 2019-12-05 00:44:55 +01:00
MaCXyLo oLyXCaM
65632141c1 adding newline 2019-12-04 16:55:13 +01:00
MaCXyLo oLyXCaM
59a261c4a7 .gitlab-ci.yml/.included.yml: refactoring pipeline script
* .gitlab-ci.yml: remove section overwrites.
 * .gitlab-ci.yml: add GIT_DEPTH variable to limit the clone depth to 1: faster git clone while container execution.
 * .gitlab-ci.yml: job names are sorted alphabetically like in the web ui.
 * .included.yml: add .tar_option for vm and vm-nogui that adds the after_script section and overwrites artifacts section.
 * both files: remove output_file variable.
 * both files: generalize file upload: add dynamic uploadPath variable, that creates a same-named folder that will be later uploaded as artifact.
2019-12-03 23:03:58 +01:00
MaCXyLo oLyXCaM
028099a867 .included.yml: replace --nixpkgs_ver with -I argument" 2019-12-02 12:12:21 +01:00
MaCXyLo oLyXCaM
f14be9ee75 README.md: select nixpkgs channel 2019-12-02 11:27:25 +01:00
MaCXyLo oLyXCaM
418b2f2da6 Revert "add nixpkgs version option"
This reverts commit b777f9e6df.
2019-12-02 11:09:58 +01:00
MaCXyLo oLyXCaM
f3ed34d510 add gitlab ci pipeline 2019-12-01 21:12:02 +01:00
MaCXyLo oLyXCaM
50e8fd3e55 Merge branch 'master' of https://github.com/nix-community/nixos-generators 2019-12-01 20:11:56 +01:00
MaCXyLo oLyXCaM
1ed1ce5e92 add install iso for hyper-v guests 2019-12-01 20:10:37 +01:00
Vo Minh Thu
95f5810ef4 Add a Digital Ocean format. (#47) 2019-12-01 17:25:19 +00:00
MaCXyLo oLyXCaM
b777f9e6df add nixpkgs version option 2019-12-01 15:29:31 +01:00
Thomas Pham
1ca14a1c85 fix sd-aarch64 format, sdImage module has been refactored with new attributes 2019-11-25 21:31:39 +01:00
Lassulus
b0e9078158 ignore nix-support directory when finding filename (#44) 2019-10-08 23:06:45 +00:00
Lassulus
defb4eed14
Merge pull request #19 from nix-community/lxc
merge lxc format
2019-08-30 19:09:36 +02:00
lassulus
1575a022ca add lxc image generator 2019-08-30 19:04:38 +02:00
David Kleuker
b7301e2806 Add link to LICENSE file to README (#33)
Also use SPDX full name

https://spdx.org/licenses/MIT.html
2019-08-19 18:16:16 +00:00
David Kleuker
673e43a6a9 Update README (#32)
With the latest install instructions ./ is not needed.

Install command can now be easier copied.
2019-08-19 14:07:08 +00:00
zimbatm
e6578895b5
add -I key=value option
Allow to inject other NIX_PATH search values like nixpkgs.
2019-08-19 16:06:30 +02:00
zimbatm
b050b7651b
rename var format to format_path
Just for consistency's sake
2019-08-19 15:58:31 +02:00
David Kleuker
20d40bf692 Extend default/example config to actually work (#30)
Now it not only builds but is also usable.

- You can login as root with password "nixos"
- You are logged in automatically on console (like installer)
- You can login as root with SSH
- You can connect to port 80

I have tested it with format "virtualbox" and "install-iso".

It's not best practice to use such insecure password,
but it's probably OK for this example for people to
see that it works.
2019-08-15 11:08:11 +00:00
zimbatm
9edb9f7bdf
use ext4 for the fsType (#29)
on master, `autoResize` can only be true if the `fsType` is explicitly
set.
2019-05-14 14:19:47 +00:00
zimbatm
e006f95894
Merge pull request #26 from thpham/cloudstack
add cloudstack image generator
2019-04-26 12:39:27 +02:00
Thomas Kim Pham
4055785d4a cloudstack image documentation 2019-04-26 09:27:07 +02:00
Thomas Kim Pham
5c8b2165a3 add cloudstack image generator 2019-04-26 09:11:13 +02:00
Lassulus
e5e720c5f3
Merge pull request #25 from tfc/sd-aarch64-noinstaller
Add format sd-aarch64, rename sd-aarch64 to sd-aarch64-installer
2019-04-11 16:15:57 +09:00
Jacek Galowicz
d00d1f29cf Update readme 2019-04-11 09:12:56 +02:00
Jacek Galowicz
5bb566506f Add sd-aarch64-noinstaller format 2019-04-11 09:09:20 +02:00
Lassulus
7894d6e184
Merge pull request #24 from mrVanDalo/feature/cores
nix-build: add --cores parameter
2019-03-23 17:50:16 +09:00
Lassulus
d7e45d35e0
Merge pull request #23 from mrVanDalo/feature/aarch64
aarch64: add sd-aarch64-linux format
2019-03-23 17:48:40 +09:00
Ingolf Wanger
223d5c0579 nix-build: add --cores parameter 2019-03-22 22:57:14 +01:00
Your Name
9c52928089 aarch64: add sd-aarch64-linux format 2019-03-22 22:44:18 +01:00
lassulus
c54ce47d5d openstack: rename nova-image to openstack-image 2019-02-21 03:20:24 +01:00
zimbatm
0cce7924f1 Cleanup (#17)
* rename eval-format.nix to nixos-generate.nix

Make it clear that it's meant to be used by the nixos-generate script

* rename config.nix to configuration.nix

Bring the name closer to /etc/nixos/configuration.nix

* fix the NIXOS_CONFIG

this is the env name that nixos-rebuild uses

* use -I to load the configuration and format

This has a nice side-effect of allowing URLs as configuration

* add Travis CI

* cleanSource

* gitignore nix result files

* use modulesPath everywhere

this makes sure that the passed pkgs in nixos-generate.nix is the same
one we use to load these other modules

* use toString to avoid evaluation error
2019-01-31 23:06:29 +01:00
lassulus
65ca979a13 formats: add azure 2019-01-24 11:49:16 +01:00
lassulus
942930d595 find runner in /bin of output 2019-01-22 07:38:54 +01:00
Lassulus
c7c260c014
Merge pull request #16 from Mic92/master
make nixos-generators installable
2019-01-22 07:23:02 +01:00
Jörg Thalheim
3fe1d1d26f
make nixos-generators installable 2019-01-22 00:19:28 +00:00
lassulus
dfb253fa74 README: add format descriptions 2019-01-20 21:35:04 +01:00
lassulus
dd1faf4a14 use realpath to allow relative paths 2019-01-20 21:11:45 +01:00
lassulus
ca7df9db1e add nix-shell shebang for jq dependency 2019-01-20 21:11:45 +01:00
Lassulus
62935df891
Merge pull request #13 from mrVanDalo/master
Update README.md
2019-01-19 10:34:11 +01:00