nixos-t2/nix/common.nix

20 lines
397 B
Nix

{ pkgs, ... }:
{
nix.settings = {
trusted-substituters = [
"https://t2linux.cachix.org"
];
trusted-public-keys = [
"t2linux.cachix.org-1:P733c5Gt1qTcxsm+Bae0renWnT8OLs0u9+yfaK2Bejw="
];
};
environment.systemPackages = with pkgs; [
git
python3
];
# ZFS is (sometimes) broken and prevents building without this
nixpkgs.config.allowBroken = true;
}