We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nixos-generators, something like the following
{ inputs = { nixpkgs.url = "nixpkgs/nixos-23.11"; nixos-generators = { url = "github:nix-community/nixos-generators"; inputs.nixpkgs.follows = "nixpkgs"; }; }; outputs = { self, nixpkgs, nixos-generators, ... }: { packages.x86_64-linux = { qemu = nixos-generators.nixosGenerate { system = "x86_64-linux"; modules = [ ./configuration.nix ]; # qcow2 for qemu format = "qcow"; # optional arguments: # explicit nixpkgs and lib: # pkgs = nixpkgs.legacyPackages.x86_64-linux; # lib = nixpkgs.legacyPackages.x86_64-linux.lib; # additional arguments to pass to modules: # specialArgs = { myExtraArg = "foobar"; }; # you can also define your own custom formats # customFormats = { "myFormat" = <myFormatModule>; ... }; # format = "myFormat"; }; # vbox = nixos-generators.nixosGenerate { # system = "x86_64-linux"; # format = "virtualbox"; # }; }; }; }
The text was updated successfully, but these errors were encountered:
See also live USBs with flakes.
Sorry, something went wrong.
No branches or pull requests
nixos-generators, something like the following
The text was updated successfully, but these errors were encountered: