{ config, pkgs, ... }: { nix = { settings = { # Users allowed to run nix allowed-users = [ "root" "@wheel" "@builders" "@video" ]; experimental-features = [ "nix-command" "flakes" ]; extra-substituters = [ "https://cache.lix.systems" ]; trusted-public-keys = [ "cache.lix.systems:aBnZUw8zA7H35Cz2RyKFVs3H4PlGTLawyY5KRbvJR8o=" ]; }; # Clean up old generations after 30 days gc = { automatic = true; dates = "weekly"; options = "--delete-older-than 30d"; }; }; }