48 lines
1.0 KiB
Nix
48 lines
1.0 KiB
Nix
# Only apply this to home-manager standalone
|
|
{
|
|
outputs,
|
|
...
|
|
}:
|
|
{
|
|
# Apply overlays
|
|
nixpkgs = {
|
|
overlays = builtins.attrValues outputs.overlays;
|
|
config = {
|
|
allowUnfree = true;
|
|
allowUnfreePredicate = _: true; # TODO: what is this
|
|
permittedInsecurePackages = [
|
|
"olm-3.2.16"
|
|
];
|
|
};
|
|
};
|
|
|
|
# Setup binary caches
|
|
nix.settings = {
|
|
substituters = [
|
|
"https://nix-community.cachix.org"
|
|
"https://cache.nixos.org/"
|
|
"https://hyprland.cachix.org"
|
|
"http://binarycache.julian-mutter.de"
|
|
];
|
|
trusted-public-keys = [
|
|
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
|
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
|
|
"binarycache.julian-mutter.de:oJ67uRFwRhNPKL58CHzy3QQLv38Kx7OA1K+6xlEPu7E="
|
|
];
|
|
|
|
trusted-users = [
|
|
"root"
|
|
"@wheel"
|
|
];
|
|
|
|
experimental-features = [
|
|
"nix-command"
|
|
"flakes"
|
|
"ca-derivations"
|
|
];
|
|
|
|
# nix.settings. # warn-dirty = false; # TODO: do I want this
|
|
|
|
};
|
|
}
|