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