1# Overriding Packages 2The nix pill confused me and i thought i had to make overlays to do overrides but no 3 4in packages (i.e. `environment.systemPackages`), just do 5```nix 6{pkgs, ...}: { 7 environment.systemPackages = with pkgs; [ 8 (discord.override {withOpenASAR = true;}) 9 ]; 10} 11``` 12 13This works as well 14```nix 15security.sudo.package = (pkgs.sudo.override {withInsults = true;}); 16```