3
0
Fork 0
forked from mirrors/nixpkgs
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 nixos/nix-daemon: use structural settings 2022-01-26 21:04:50 -05:00
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 nixos/release tested job: drop nano test 2022-03-01 19:28:31 +01:00
release-small.nix nixos/release: disable nfs3.simple 2022-03-03 06:34:59 +10:00
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.