Refactor the whole configuration #1

Merged
caem merged 354 commits from refactor into master 2025-02-01 14:05:16 +01:00
2 changed files with 6 additions and 5 deletions
Showing only changes of commit 0977d07134 - Show all commits

View file

@ -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;

View file

@ -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 ./.))
}