improved organisation

moved host modules to hosts/modules and modified deploy script
This commit is contained in:
Emile Clark-Boman 2025-02-24 13:19:36 +10:00
parent 9636eab7f6
commit c3b02c5f7b
18 changed files with 27 additions and 20 deletions

View file

@ -1,16 +0,0 @@
{ ... }:
{
# Optimize storage and automatic scheduled GC running
# If you want to run GC manually, use commands:
# `nix-store --optimize` for finding and eliminating redundant copies of identical store paths
# `nix-store --gc` for optimizing the nix store and removing unreferenced and obsolete store paths
# `nix-collect-garbage -d` for deleting old generations of user profiles
nix.settings.auto-optimise-store = true;
nix.optimise.automatic = true;
nix.gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 14d";
};
}