Marisa: removed initrd kernel modules that are not required

This commit is contained in:
2021-05-25 23:34:11 +05:30
parent a22f0e6bc7
commit 94ed8dba17
16 changed files with 135 additions and 191 deletions

14
marisa/cachix.nix Normal file
View File

@@ -0,0 +1,14 @@
# WARN: this file will get overwritten by $ cachix use <name>
{ pkgs, lib, ... }:
let
folder = ./cachix;
toImport = name: value: folder + ("/" + name);
filterCaches = key: value: value == "regular" && lib.hasSuffix ".nix" key;
imports = lib.mapAttrsToList toImport (lib.filterAttrs filterCaches (builtins.readDir folder));
in {
inherit imports;
nix.binaryCaches = ["https://cache.nixos.org/"];
}