modules: move devos/* into global
This commit is contained in:
parent
80d2277a16
commit
7c9c18e578
7 changed files with 1 additions and 10 deletions
|
@ -1,11 +0,0 @@
|
|||
{ lib, ... }:
|
||||
let
|
||||
folder = ./.;
|
||||
toImport = name: value: folder + ("/" + name);
|
||||
filterCaches = key: value: value == "regular" && lib.hasSuffix ".nix" key && key != "default.nix";
|
||||
imports = lib.mapAttrsToList toImport (lib.filterAttrs filterCaches (builtins.readDir folder));
|
||||
in
|
||||
{
|
||||
inherit imports;
|
||||
nix.settings.substituters = lib.mkBefore [ "https://cache.nixos.org/" ];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue