mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-06 01:38:06 +00:00
[Overlays] Fix unstable config (allow all unfree packages, and import overlays)
This commit is contained in:
parent
16c5d7f9cd
commit
8d1acaca33
1 changed files with 4 additions and 1 deletions
|
|
@ -2,7 +2,10 @@
|
||||||
with lib;
|
with lib;
|
||||||
let
|
let
|
||||||
cfg = config.aviallon.overlays;
|
cfg = config.aviallon.overlays;
|
||||||
unstable = import (builtins.fetchTarball "https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz") { config = config.nixpkgs.config; };
|
unstable = import (builtins.fetchTarball "https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz") {
|
||||||
|
config = config.nixpkgs.config // { allowUnfree = true; } ;
|
||||||
|
overlays = config.nixpkgs.overlays;
|
||||||
|
};
|
||||||
nur = import (builtins.fetchTarball "https://github.com/nix-community/NUR/archive/master.tar.gz") { inherit pkgs; };
|
nur = import (builtins.fetchTarball "https://github.com/nix-community/NUR/archive/master.tar.gz") { inherit pkgs; };
|
||||||
optimizeWithFlags = pkg: flags:
|
optimizeWithFlags = pkg: flags:
|
||||||
pkg.overrideAttrs (attrs: {
|
pkg.overrideAttrs (attrs: {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue