Comments (4)
Solved it.
# evo = new work laptop hostname
evo = nixpkgs.lib.nixosSystem {
# format different due to kolide-launcher
# nixpkgs.config.allowUnfree = true; only applies to non-flakes.
specialArgs = {
inherit inputs secrets;
pkgs = import nixpkgs {
system = "x86_64-linux";
config.allowUnfree = true;
};
};
it was the:
pkgs = import nixpkgs {
system = "x86_64-linux";
config.allowUnfree = true;
};
I removed that, and it started working. It was in there from when I was trying to configure Kolide. I had missed that the definitions were slightly different. I thought they were identical.
from jeezyvim.
I think you have put the overlays in the wrong place, they should be set where you set the pkgs
variable and set allowUnfree
:
pkgs = import nixpkgs {
system = "x86_64-linux";
config.allowUnfree = true;
overlays = [
jeezyvim.overlays.default
# ... other overlays here
];
};
from jeezyvim.
OK, I think this may be a garbage collection issue. It does not work on my laptop, but it does on my desktop. I think it is a "me" problem.
from jeezyvim.
I think you have put the overlays in the wrong place, they should be set where you set the
pkgs
variable and setallowUnfree
:pkgs = import nixpkgs { system = "x86_64-linux"; config.allowUnfree = true; overlays = [ jeezyvim.overlays.default # ... other overlays here ]; };
I totally missed this message. I am still fighting this issue, but it has to be a "me" problem.
It is odd, as my overlays set under modules work for all other overlays. And is working where it is on one system but not the other.
I just went looking at a bunch of other flake.nix files using github code search, and I see many bringing it in within the modules
section.
evo = nixpkgs.lib.nixosSystem {
# format different due to kolide-launcher
# nixpkgs.config.allowUnfree = true; only applies to non-flakes.
specialArgs = {
inherit inputs secrets;
pkgs = import nixpkgs {
system = "x86_64-linux";
config.allowUnfree = true;
};
};
system = "x86_64-linux";
modules = [
./systems/evo
nur.nixosModules.nur
# nixos-hardware.nixosModules.lenovo-thinkpad-x13-yoga
home-manager.nixosModules.home-manager
nix-flatpak.nixosModules.nix-flatpak
kolide-launcher.nixosModules.kolide-launcher
avalanche.nixosModules."avalanche/desktop"
{
home-manager.extraSpecialArgs = { inherit secrets; };
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
# Overlays - specified in "workstationOverlays"
nixpkgs.overlays = workstationOverlays;
# Allow unfree packages
nixpkgs.config.allowUnfree = true;
}
];
};
I assume your overlays are needed at the home manger level. Maybe I misunderstood?
from jeezyvim.
Related Issues (5)
- command not found HOT 4
- readme error missing ";" HOT 1
- unsupported attribute `keymaps'. HOT 1
- cannot set treesitter settings HOT 16
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 jeezyvim.