From bb02598084ed678da5f6617e8752153d5b10e968 Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Fri, 20 Oct 2023 14:57:34 +0200 Subject: [PATCH] refactor: unstable --- modules/{nur.nix => nur-and-unstable.nix} | 6 +++++- modules/signal-desktop.nix | 7 ------- 2 files changed, 5 insertions(+), 8 deletions(-) rename modules/{nur.nix => nur-and-unstable.nix} (76%) diff --git a/modules/nur.nix b/modules/nur-and-unstable.nix similarity index 76% rename from modules/nur.nix rename to modules/nur-and-unstable.nix index 598aca1..90a0d1a 100644 --- a/modules/nur.nix +++ b/modules/nur-and-unstable.nix @@ -7,11 +7,15 @@ # }; #}; - # Import NUR with niv. nixpkgs.config.packageOverrides = pkgs: { + # Import NUR with niv. nur = import (import ../nix/sources.nix).NUR { inherit pkgs; }; + # Import unstable with niv. + unstable = import (import ../nix/sources.nix).unstable { + inherit pkgs; + }; }; # Test if NUR was imported successfully. diff --git a/modules/signal-desktop.nix b/modules/signal-desktop.nix index 9b156df..3722f4f 100644 --- a/modules/signal-desktop.nix +++ b/modules/signal-desktop.nix @@ -1,12 +1,5 @@ { config, pkgs, lib, ... }: { - # Import unstable with niv. - nixpkgs.config.packageOverrides = pkgs: { - unstable = import (import ../nix/sources.nix).unstable { - inherit pkgs; - }; - }; - users.users.yoda = { packages = with pkgs; [ signal-desktop-beta # Signal client