dotfiles/nix.nix

30 lines
825 B
Nix
Raw Permalink Normal View History

2024-02-13 00:08:01 +01:00
{ pkgs, lib, ... }:
{
nix = {
package = lib.mkDefault pkgs.nixVersions.latest;
2024-02-13 00:08:01 +01:00
extraOptions = ''
experimental-features = nix-command flakes
sandbox = relaxed
'';
settings = {
2024-05-28 14:38:22 +02:00
trusted-users = [
"root"
"thilo"
];
2024-03-23 15:15:15 +01:00
substituters = [
2024-02-27 02:54:02 +01:00
"https://cache.nixos.org"
2024-02-13 00:08:01 +01:00
"https://nix-community.cachix.org"
"https://nixpkgs-update.cachix.org"
"https://devenv.cachix.org"
];
trusted-public-keys = [
2024-02-27 02:54:02 +01:00
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
2024-02-13 00:08:01 +01:00
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
"nixpkgs-update.cachix.org-1:6y6Z2JdoL3APdu6/+Iy8eZX2ajf09e4EE9SnxSML1W8="
"devenv.cachix.org-1:w1cLUi8dv3hnoSPGAuibQv+f9TZLr6cv/Hm9XgU50cw="
];
};
};
2024-02-13 18:16:09 +01:00
}