{ config, lib, ... }: { # Enable the Nix package manager nix = { enable = true; settings = { # Configure trusted users who can perform privileged Nix operations trusted-users = lib.mkForce [ "@admin" "${config.system.primaryUser}" ]; }; }; }