dotfiles/nix.nix

27 lines
718 B
Nix
Raw Normal View History

2024-02-13 00:08:01 +01:00
{ pkgs, lib, ... }:
{
nix = {
package = lib.mkDefault pkgs.nixUnstable;
extraOptions = ''
experimental-features = nix-command flakes
sandbox = relaxed
'';
settings = {
trusted-users = [
"root"
"thilo"
];
trusted-substituters = [
"https://nix-community.cachix.org"
"https://nixpkgs-update.cachix.org"
"https://devenv.cachix.org"
];
trusted-public-keys = [
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
"nixpkgs-update.cachix.org-1:6y6Z2JdoL3APdu6/+Iy8eZX2ajf09e4EE9SnxSML1W8="
"devenv.cachix.org-1:w1cLUi8dv3hnoSPGAuibQv+f9TZLr6cv/Hm9XgU50cw="
];
};
};
}