common hosts file

This commit is contained in:
cy 2024-12-13 22:26:27 -05:00
parent d4f7819c3b
commit 7eca12a6cf
3 changed files with 23 additions and 28 deletions

21
nix/hosts/common.nix Normal file
View file

@ -0,0 +1,21 @@
{lib,config,pkgs, ...}: {
nix = {
settings = {
experimental-features = "nix-command flakes";
auto-optimise-store = true;
flake-registry = "";
};
channel.enable = false;
optimise = {
automatic = true;
dates = ["03:45"];
};
gc = {
automatic = true;
dates = "19:00";
persistent = true;
options = "--delete-older-than 60d";
};
};
time.timeZone = "America/Toronto";
}