nixpkgs/nixos
Michal Sojka 611e9302f9 nixos-rebuild: add --no-flake switch
When a NixOS system uses flakes, i.e., /etc/nixos/flake.nix exists, it
is impossible to use nixos-rebuild to build a pre-flake
configuration.nix. Of course, one can directly use nix command to
build the configuration, but not everybody remembers the correct nix
options to do that.

With the new option, it is possible to build a pre-flake configuration
with command like this:

    nixos-rebuild build-vm -I nixos-config=./vm.nix --no-flake

The option might be useful for people following older pre-flake
tutorials on a flake-based system.
2022-03-22 19:03:10 +01:00
..
doc nixos-rebuild: add --no-flake switch 2022-03-22 19:03:10 +01:00
lib nixos/test-driver: deduplicate VLANs 2022-03-22 13:16:28 +00:00
maintainers
modules nixos/wg-quick: add autostart option to interfaces (#162219) 2022-03-22 13:25:57 +00:00
tests nixos/tests/avahi: Fix running background command 2022-03-22 17:24:13 +01:00
COPYING
default.nix
README
release-combined.nix
release-small.nix
release.nix

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
https://nixos.org/nixos and in the manual in doc/manual.