mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-05 17:27:50 +00:00
[Packages+Overlays] Remove impure unstable + nur overlays, disable vdhcoapp
This commit is contained in:
parent
a10d1be23b
commit
6bd20a7600
4 changed files with 3 additions and 31 deletions
|
|
@ -18,7 +18,7 @@ in {
|
|||
|
||||
jamesdsp # Audio post-processing
|
||||
|
||||
nur.repos.wolfangaukang.vdhcoapp
|
||||
#nur.repos.wolfangaukang.vdhcoapp
|
||||
];
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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 = {
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@ in
|
|||
imports = [
|
||||
./programs
|
||||
./overlays.nix
|
||||
./packages/unstable.nix
|
||||
./packages/flatpak.nix
|
||||
(mkRenamedOptionModule [ "aviallon" "programs" "compileFlags" ] [ "aviallon" "optimizations" "extraCompileFlags" ])
|
||||
];
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
})]
|
||||
);
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue