[Packages+Overlays] Remove impure unstable + nur overlays, disable vdhcoapp

This commit is contained in:
Antoine Viallon 2023-03-31 21:43:30 +02:00
parent a10d1be23b
commit 6bd20a7600
Signed by: aviallon
GPG key ID: 186FC35EDEB25716
4 changed files with 3 additions and 31 deletions

View file

@ -18,7 +18,7 @@ in {
jamesdsp # Audio post-processing
nur.repos.wolfangaukang.vdhcoapp
#nur.repos.wolfangaukang.vdhcoapp
];

View file

@ -1,7 +1,8 @@
{config, pkgs, options, lib, ...}:
{config, pkgs, options, lib, nixpkgs-unstable, ...}:
with lib;
let
cfg = config.aviallon.overlays;
unstable = nixpkgs-unstable;
in
{
options.aviallon.overlays = {

View file

@ -10,7 +10,6 @@ in
imports = [
./programs
./overlays.nix
./packages/unstable.nix
./packages/flatpak.nix
(mkRenamedOptionModule [ "aviallon" "programs" "compileFlags" ] [ "aviallon" "optimizations" "extraCompileFlags" ])
];

View file

@ -1,28 +0,0 @@
{ config, pkgs, lib, ... }:
with lib;
let
cfg = config.aviallon.overlays;
hardwareCfg = config.aviallon.hardware;
unstable = import (fetchGit {
url = "https://github.com/NixOS/nixpkgs.git";
ref = "nixos-unstable";
}) {
config = config.nixpkgs.config // { allowUnfree = true; } ;
overlays = config.nixpkgs.overlays;
};
nur = import (fetchGit {
url = "https://github.com/nix-community/NUR.git";
ref = "master";
}) {
inherit pkgs;
};
in {
config = {
nixpkgs.overlays = mkBefore ([]
++ [(final: prev: {
inherit nur;
inherit unstable;
})]
);
};
}