From 2dbccc394a4964a2a3badd192184b6d35dd63336 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 23 Mar 2023 12:31:51 +0100 Subject: Rework how I pass packages to the NixOS --- pkgs/default.nix | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) (limited to 'pkgs') diff --git a/pkgs/default.nix b/pkgs/default.nix index d7d6989..f568186 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -1,13 +1,10 @@ -{ - self, - nixpkgs, -}: let - callPackage = nixpkgs.newScope personalpkgs; +pkgs: let + callPackage = pkgs.newScope personalpkgs; personalpkgs = rec { luks-hw-password = callPackage ./luks-hw-password {}; dev = callPackage ./dev { - devShells = self.devShells.${nixpkgs.system}; + devShells = import ../devShells pkgs; }; delft-icon-theme = callPackage ./theme/delft-icon-theme.nix {}; @@ -27,15 +24,6 @@ bigclown-leds = callPackage ./bigclown-leds {}; - # Package to be installed to the user's profile - cynerd-profile = nixpkgs.symlinkJoin { - name = "cynerd-profile"; - paths = [ - self.inputs.shellrc.packages.${nixpkgs.system}.default - nixpkgs.tig - ]; - }; - # Elektroline packages shvspy = callPackage ./shvspy {}; }; -- cgit v1.2.3