From 369a5db1b14ddc8a7cfe2ed51f811c755284f859 Mon Sep 17 00:00:00 2001 From: serenity-F Date: Thu, 19 Dec 2024 22:21:06 +1000 Subject: [PATCH] commented out cursed-ass flake-compat(?{joepie91}) thing ???? --- core/packages.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/core/packages.nix b/core/packages.nix index a34b3cf..548a0b3 100755 --- a/core/packages.nix +++ b/core/packages.nix @@ -37,15 +37,15 @@ ## This will add each flake input as a registry ## To make nix3 commands consistent with your flake - nix.registry = (lib.mapAttrs (_: flake: { inherit flake; })) - ((lib.filterAttrs (_: lib.isType "flake")) inputs); + #nix.registry = (lib.mapAttrs (_: flake: { inherit flake; })) + # ((lib.filterAttrs (_: lib.isType "flake")) inputs); ## This will additionally add your inputs to the system's legacy channels ## Making legacy nix commands consistent as well, awesome! - nix.nixPath = [ "/etc/nix/path" ]; - environment.etc = lib.mapAttrs' (name: value: { - name = "nix/path/${name}"; - value.source = value.flake; - }) config.nix.registry; + #nix.nixPath = [ "/etc/nix/path" ]; + #environment.etc = lib.mapAttrs' (name: value: { + # name = "nix/path/${name}"; + # value.source = value.flake; + #}) config.nix.registry; ## [END - Stolen code, mostly understand from here again] programs = {