refactor: unstable

This commit is contained in:
Daniel Langbein 2023-10-20 14:57:34 +02:00
parent 9c68a345f2
commit bb02598084
Signed by: langfingaz
GPG Key ID: 6C47C753F0823002
2 changed files with 5 additions and 8 deletions

View File

@ -7,11 +7,15 @@
# }; # };
#}; #};
# Import NUR with niv.
nixpkgs.config.packageOverrides = pkgs: { nixpkgs.config.packageOverrides = pkgs: {
# Import NUR with niv.
nur = import (import ../nix/sources.nix).NUR { nur = import (import ../nix/sources.nix).NUR {
inherit pkgs; inherit pkgs;
}; };
# Import unstable with niv.
unstable = import (import ../nix/sources.nix).unstable {
inherit pkgs;
};
}; };
# Test if NUR was imported successfully. # Test if NUR was imported successfully.

View File

@ -1,12 +1,5 @@
{ config, pkgs, lib, ... }: { config, pkgs, lib, ... }:
{ {
# Import unstable with niv.
nixpkgs.config.packageOverrides = pkgs: {
unstable = import (import ../nix/sources.nix).unstable {
inherit pkgs;
};
};
users.users.yoda = { users.users.yoda = {
packages = with pkgs; [ packages = with pkgs; [
signal-desktop-beta # Signal client signal-desktop-beta # Signal client