infrastructure/default.nix

29 lines
529 B
Nix
Raw Normal View History

2023-04-12 12:47:22 +00:00
{ pkgs, config, lib, ... }:
let
utils = import ./util/include.nix { lib = lib; };
imports =
(utils.includeDir ./modules/base) ++
[
./overlay
];
in
{
inherit imports;
nix = {
package = pkgs.nixVersions.stable;
extraOptions = ''
experimental-features = nix-command flakes
'';
settings = {
substituters = [
"https://cache.nixos.org"
];
trusted-public-keys = [
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
];
};
};
}