common hosts file
This commit is contained in:
parent
d4f7819c3b
commit
7eca12a6cf
3 changed files with 23 additions and 28 deletions
21
nix/hosts/common.nix
Normal file
21
nix/hosts/common.nix
Normal 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";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue