GithubHelp home page GithubHelp logo

Comments (3)

niksteff avatar niksteff commented on September 28, 2024 1

I also ran into this error on the vm-intel build. It seems there is an argument missing in the flake.nix file.

After adding the variable overlays defined in flake.nix to the inherit declaration in line 45 in flake.nix the configuration works.
If you take a closer look to the mkvm.nix file you can see in the name declaration the function is expecting the argument. (i suppose). I am in no means a nixOS expert or something - this was just what i could figure out.

Should look like this:

// flake.nix
 44     nixosConfigurations.vm-intel = mkVM "vm-intel" rec {
 45       inherit nixpkgs home-manager overlays; // here overlays seems to be missing 
 46       system = "x86_64-linux";
 47       user   = "mitchellh";
 48     };

from nixos-config.

lucamaraschi avatar lucamaraschi commented on September 28, 2024 1

@DNVl thanks for the direction! I was just prepping a PR for this issue with exactly your same finding!

BTW @DNVl have you tried the setup on M1 too?

from nixos-config.

niksteff avatar niksteff commented on September 28, 2024

@lucamaraschi awesome!

no sadly not, currently i have only acces to an intel based linux machine. I set it up using vmware player.

from nixos-config.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.