nix/os-mods/cachix/default.nix
Tristan Druyen d71e942e57
WIP
- add & use iosevka instead of firacode
- change doom theme to gruvbox-dark
- add some tramp config
- remove doom workspaces to improve centaur-tabs
- add tree-sitter to doom layers where possible
- mount work smb shares
- add adb tools
- change to stable firefox from beta
- various other stuff
2023-11-27 22:11:52 +01:00

16 lines
475 B
Nix

# WARN: this file will get overwritten by $ cachix use <name>
{ pkgs
, lib
, ...
}:
let
folder = ./caches;
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.settings.substituters = [ "https://cache.nixos.org/" ];
nix.settings.trusted-users = [ "root" "tristand" ];
}