chore(flake): update inputs

This commit is contained in:
Felix Schröter 2022-01-31 22:49:52 +01:00
parent 13302e74ca
commit b7c50221f3
Signed by: felschr
GPG key ID: 671E39E6744C807D
3 changed files with 24 additions and 22 deletions

View file

@ -5,7 +5,7 @@
with lib; {
boot.loader.systemd-boot.editor = mkDefault false;
nix.allowedUsers = mkDefault [ "@users" ];
nix.settings.allowed-users = mkDefault [ "@users" ];
# causes Firefox & Tor Browser segfaults
# environment.memoryAllocator.provider = mkDefault "scudo";

View file

@ -1,16 +1,18 @@
{ config, pkgs, ... }:
{
nix.autoOptimiseStore = true;
nix.gc = {
automatic = true;
dates = "10:00";
options = "--delete-older-than 30d";
};
nix.binaryCaches = [ "https://hydra.iohk.io" "https://shajra.cachix.org" ];
nix.binaryCachePublicKeys = [
"hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ="
"shajra.cachix.org-1:V0x7Wjgd/mHGk2KQwzXv8iydfIgLupbnZKLSQt5hh9o="
];
nix.settings = {
auto-optimise-store = true;
substituters = [ "https://hydra.iohk.io" "https://shajra.cachix.org" ];
trusted-public-keys = [
"hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ="
"shajra.cachix.org-1:V0x7Wjgd/mHGk2KQwzXv8iydfIgLupbnZKLSQt5hh9o="
];
};
}