Commit Graph

6 Commits

Author SHA1 Message Date
Jörg Thalheim
866c15b90c configuration: get rid of warnings
Since we generate whole images we don't have state and can always go with the last.
2023-09-29 10:11:37 +02:00
DavHau
435e0d366f add checks for al formats 2023-05-29 11:05:09 +02:00
DavHau
c1e0b7feec reformat all files 2023-05-29 09:35:13 +02:00
David Baynard
863c0912d9
Replace deprecated mingetty option with getty 2021-06-21 23:27:36 +01: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
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