Add infrastructure for my own packaging

This commit is contained in:
Oystein Kristoffer Tveit 2022-04-12 02:50:53 +02:00
parent 70e6bc23bf
commit 920eaf6bba
2 changed files with 7 additions and 0 deletions

View File

@ -79,6 +79,8 @@
lib = (pkgs.extend self.overlays.lib).lib; lib = (pkgs.extend self.overlays.lib).lib;
packages.${system} = import ./pkgs { inherit pkgs; };
homeConfigurations = { homeConfigurations = {
h7x4 = home-manager.lib.homeManagerConfiguration { h7x4 = home-manager.lib.homeManagerConfiguration {
inherit system; inherit system;

5
pkgs/default.nix Normal file
View File

@ -0,0 +1,5 @@
{ pkgs ? import <nixpkgs> {} }: let
call = pkg: { name = pkg; value = pkgs.callPackage ./${pkg} {}; };
in builtins.listToAttrs (map call [
# TODO: Add some packages
])