# modules/core/system.nix # Nix settings and system configuration { config, pkgs, lib, ... }: { nix.settings = { experimental-features = [ "nix-command" "flakes" ]; auto-optimise-store = true; trusted-users = [ "root" "@wheel" ]; }; #Automatic updating system.autoUpgrade.enable = true; system.autoUpgrade.dates = "weekly"; nix.gc = { automatic = true; dates = "daily"; options = "--delete-older-than 10d"; }; nixpkgs.config.allowUnfree = true; system.stateVersion = "26.05"; }