{ lib, pkgs, ... }: { # Enable flakes and new 'nix' command nix = { package = pkgs.nixFlakes; extraOptions = '' experimental-features = nix-command flakes ''; autoOptimiseStore = true; trustedUsers = [ "root" "@wheel" ]; gc = { automatic = true; options = "--delete-older-than 14d"; }; }; }