Files
dotfiles/hosts/common/programs/nix/default.nix
2025-08-31 19:34:44 +05:30

33 lines
644 B
Nix

{ self, ... }:
{
nixpkgs = {
config = {
allowBroken = true;
allowUnfree = true;
};
overlays = [
self.overlays.default
];
};
nix = {
extraOptions = ''
experimental-features = nix-command flakes
'';
settings = {
auto-optimise-store = true;
trusted-users = [
"root"
"@wheel"
];
substituters = [
"https://nix-community.cachix.org"
"https://mirrors.tuna.tsinghua.edu.cn/nix-channels/store"
];
trusted-public-keys = [
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
];
};
};
}