about summary refs log tree commit diff stats
path: root/sys/nixpkgs/default.nix
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-09-10 08:30:22 +0200
committerSoispha <soispha@vhack.eu>2023-09-10 08:30:22 +0200
commite573fc95e0d4e2376f8e8750331b4812e8aeebc3 (patch)
tree8f1e5a2417f8e611243b5eed2bbe6dc0496cd76c /sys/nixpkgs/default.nix
parentBuild(flake): Update (diff)
downloadnixos-config-e573fc95e0d4e2376f8e8750331b4812e8aeebc3.zip
Fix(treewide): Provide `snap-synced-forked` as overlay and thus as pkg
Diffstat (limited to 'sys/nixpkgs/default.nix')
-rw-r--r--sys/nixpkgs/default.nix10
1 files changed, 8 insertions, 2 deletions
diff --git a/sys/nixpkgs/default.nix b/sys/nixpkgs/default.nix
index c37d5582..da3a33e6 100644
--- a/sys/nixpkgs/default.nix
+++ b/sys/nixpkgs/default.nix
@@ -2,11 +2,17 @@
   lib,
   system,
   overlays ? [],
-}: {
+  sysLib,
+}: let
+  additionalPackages = (import ./pkgs) {inherit sysLib;};
+  complete_overlays = overlays ++ additionalPackages;
+in {
   # TODO: inheriting system here is discouraged, localSystem or hostSystem should be inspected
-  inherit system overlays;
+  inherit system;
+  overlays = complete_overlays;
   config = {
     # TODO: this fails because of the root tempsize, which should be increased
+
     #contentAddressedByDefault = true;
 
     allowUnfreePredicate = pkg: