nixos-config/hosts/common.nix

33 lines
699 B
Nix
Raw Normal View History

2024-12-19 02:32:58 -05:00
{ ... }:
{
2024-12-13 22:26:27 -05:00
nix = {
settings = {
experimental-features = "nix-command flakes";
auto-optimise-store = true;
flake-registry = "";
};
channel.enable = false;
optimise = {
automatic = true;
2024-12-19 02:32:58 -05:00
dates = [ "03:45" ];
2024-12-13 22:26:27 -05:00
};
gc = {
automatic = true;
dates = "19:00";
persistent = true;
options = "--delete-older-than 60d";
};
};
time.timeZone = "America/Toronto";
2024-12-16 20:36:32 -05:00
networking.firewall.logRefusedConnections = false;
2024-12-22 21:07:38 -05:00
# this is true by default and mutually exclusive with
# programs.nix-index
programs.command-not-found.enable = false;
programs.nix-index = {
enable = true;
enableZshIntegration = true;
};
2024-12-13 22:26:27 -05:00
}