Comments (3)
You were spot on, thanks! I got a perfect rebuild after commenting that line out.
As I mentioned in the beginning, I didn't have Home Manager installed and configured, so I had to go to the Home Manager Manual. I figured that since your sample flake.nix
file included a homeConfigurations section, and a mention of it was in the instructions, that it was expected. Maybe other noobs like me would benefit from mentioning the link above. Apart from that, everything was just great. Once again, thank you very much for sharing!
from nix-starter-configs.
Hi! Thanks for your kind words, I'm glad that this project is useful to you :D
So, the problem is your config has a system.copySystemConfiguration = true
somewhere. This option is not compatible with flakes, as it relies on NIXOS_PATH, which is impure. Just set it to false (the default) and it should work :)
If you have a specific use-case that requires this feature, let me know and I can perhaps point you to an equivalent that works with flakes.
Cheers
from nix-starter-configs.
Hey! Marking this as completed it's been addressed (a shell command is provided on the readme for getting home-manager
). If anyone else faces this, do feel free to comment or reopen :)
from nix-starter-configs.
Related Issues (20)
- Can not access overlays in home-manager HOT 4
- Readme "Use home-manager as a NixOS module" section encoutered some issues on my system HOT 5
- How to upgrade to the new Nixos release version HOT 3
- Rebuild command in minimal example configuration is missing a word HOT 2
- How to update `nix` to v2.4+? HOT 1
- Question about `pkgs` attribute HOT 4
- ERROR when installing the standard config HOT 2
- config.news.json.output not found with home-manager standalone HOT 6
- Multiple inputs, unsure if used HOT 1
- error: flake does not provide attribute HOT 2
- Adding a function to iterate over files in git repository?
- can't import config parts like suggested in configuration.nix HOT 3
- Can't make overlays working HOT 2
- Docs for use in WSL? HOT 2
- your-username@your-hostname HOT 4
- Rebuilding with custom packages fails HOT 8
- How to add overlays such as emacs-overlay to primary nixpkgs HOT 1
- flake-newbie - question
- home-manager could not find suitable profile directory. HOT 1
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 nix-starter-configs.