diff options
author | Karel Kočí <cynerd@email.cz> | 2023-03-23 12:31:51 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2023-03-23 12:31:51 +0100 |
commit | 2dbccc394a4964a2a3badd192184b6d35dd63336 (patch) | |
tree | d11b10501f7f0e520898590969a5c040d6f739f7 /pkgs | |
parent | 28f1ed4a6a1cbf9b32904a010310e3da0f29b81b (diff) | |
download | nixos-personal-2dbccc394a4964a2a3badd192184b6d35dd63336.tar.gz nixos-personal-2dbccc394a4964a2a3badd192184b6d35dd63336.tar.bz2 nixos-personal-2dbccc394a4964a2a3badd192184b6d35dd63336.zip |
Rework how I pass packages to the NixOS
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/default.nix | 18 |
1 files changed, 3 insertions, 15 deletions
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 {}; }; |