From 0977d07134cbddf1474d3d3f5e525d692860d0d7 Mon Sep 17 00:00:00 2001 From: caem Date: Thu, 23 Jan 2025 15:23:28 +0100 Subject: [PATCH] jesse what the fuck are you doing --- modules/nixos/core/nix.nix | 5 ++++- overlays/nixpkgs-unstable.nix | 6 ++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/modules/nixos/core/nix.nix b/modules/nixos/core/nix.nix index 549e9a7..addde6a 100644 --- a/modules/nixos/core/nix.nix +++ b/modules/nixos/core/nix.nix @@ -8,10 +8,13 @@ let (file: builtins.match ".*\.nix" (builtins.toString file) != null) (lib.filesystem.listFilesRecursive ../../../overlays)); */ + /* importOverlays = (builtins.filter (file: builtins.match ".*\.nix" (builtins.toString file) != null) (lib.filesystem.listFilesRecursive ../../../overlays)); + */ + a = builtins.trace "${lib.filesystem.listFilesRecursive}" 1; in { nix = { settings = { @@ -24,7 +27,7 @@ in { experimental-features = nix-command flakes ''; }; - piss = builtins.trace "overlays: ${importOverlays}" importOverlays; + b = a; nixpkgs = { config = { allowUnfree = true; diff --git a/overlays/nixpkgs-unstable.nix b/overlays/nixpkgs-unstable.nix index 96d7851..19c3738 100644 --- a/overlays/nixpkgs-unstable.nix +++ b/overlays/nixpkgs-unstable.nix @@ -1,5 +1,3 @@ -{ inputs }: -(final: prev: { +{ inputs }: final: prev: { unstable = inputs.nixpkgs-unstable.legacyPackages.${prev.system}; -}) -(builtins.filter (file: builtins.match "(.*.nix)" (builtins.toString file) != null) (lib.filesystem.listFilesRecursive ./.)) +}