Comments (3)
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.
@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.
@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)
- Running setup on vm-aarch64 throws error HOT 6
- Missing `/dev/sda` in Nixos VM HOT 1
- make vm/switch failing on bootctl update HOT 1
- `digga` for nixos on flakes HOT 1
- Better resolution management HOT 1
- nix-shell FHS interop throws cryptic error HOT 1
- Stuck trying to boot HOT 27
- Multiple monitors HOT 3
- Missing conditional
- What obstacles did you encounter when using nix on macOS? HOT 2
- Run a Linux builder in the background
- bootstrap stalls and a restart login says root password is incorrect HOT 15
- Stuck at restart dhcpd.service and sshd.service? HOT 2
- Some notes for UTM/QEMU HOT 9
- Root account locked HOT 2
- build-vm fails
- error while configuring nixos HOT 4
- Root password incorrect HOT 2
- emergency mode HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nixos-config.