mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-05 17:27:50 +00:00
[Overlays] Add nur
Signed-off-by: Antoine Viallon <antoine@lesviallon.fr>
This commit is contained in:
parent
cc8a555773
commit
0d0f4a8dcf
1 changed files with 2 additions and 5 deletions
|
|
@ -3,6 +3,7 @@ with lib;
|
|||
let
|
||||
cfg = config.aviallon.overlays;
|
||||
unstable = import (builtins.fetchTarball "https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz") { config = config.nixpkgs.config; };
|
||||
nur = import (builtins.fetchTarball "https://github.com/nix-community/NUR/archive/master.tar.gz") { inherit pkgs; };
|
||||
optimizeWithFlags = pkg: flags:
|
||||
pkg.overrideAttrs (attrs: {
|
||||
NIX_CFLAGS_COMPILE = toString ([ (attrs.NIX_CFLAGS_COMPILE or "") ] ++ flags);
|
||||
|
|
@ -61,6 +62,7 @@ in
|
|||
nixpkgs.overlays = [
|
||||
(self: super: {
|
||||
inherit unstable;
|
||||
inherit nur;
|
||||
})
|
||||
(self: super: {
|
||||
nextcloud-client = optimizeForThisHost (super.nextcloud-client.overrideAttrs (old: {
|
||||
|
|
@ -114,11 +116,6 @@ in
|
|||
enableWideVine = true;
|
||||
};
|
||||
})
|
||||
# (self: super: {
|
||||
# nur = import (builtins.fetchTarball "https://github.com/nix-community/NUR/archive/master.tar.gz") {
|
||||
# inherit pkgs;
|
||||
# };
|
||||
# })
|
||||
];
|
||||
|
||||
aviallon.programs.allowUnfreeList = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue