{ pkgs, ... }: { nix = { package = pkgs.nixFlakes; gc = { user = "root"; automatic = true; dates = "weekly"; options = "--delete-older-than 7d"; }; settings = { auto-optimise-store = true; trusted-users = [ "@admin" "fcuny" ]; experimental-features = [ "nix-command" "flakes" ]; }; }; nixpkgs.config = { allowUnfree = true; permittedInsecurePackages = [ "nix-2.16.2" # FIXME https://github.com/nix-community/nixd/issues/357 ]; }; }