Jump to content

Bottles: Difference between revisions

From Official NixOS Wiki
fix typo
add statements and link regarding a warning at first start of bottles
 
Line 7: Line 7:
environment.systemPackages = with pkgs; [
environment.systemPackages = with pkgs; [
   bottles
   bottles
];
</syntaxhighlight>You will get a warning that bottles is only supported in sandboxed environments at first start of bottles. To get rid of this warning, use the code below instead. For reasoning and explanation see [https://github.com/NixOS/nixpkgs/issues/384555 this GitHub issue].<syntaxhighlight lang="nix">
environment.systemPackages = with pkgs; [
  (bottles.override { removeWarningPopup = true; })
];
];
</syntaxhighlight>
</syntaxhighlight>

Latest revision as of 14:53, 24 August 2026

Bottles is an open source application that lets you manage your Wine or Proton prefixes, and run Windows software within those prefixes.

Installation

Simply install the bottles package:

environment.systemPackages = with pkgs; [
  bottles
];

You will get a warning that bottles is only supported in sandboxed environments at first start of bottles. To get rid of this warning, use the code below instead. For reasoning and explanation see this GitHub issue.

environment.systemPackages = with pkgs; [
  (bottles.override { removeWarningPopup = true; })
];

Home Manager

Add the package to your home.packages:

home.packages = with pkgs; [      
  bottles
];