Jump to content

Bottles: Difference between revisions

From Official NixOS Wiki
Axka (talk | contribs)
Tags: Mobile edit Mobile web edit Visual edit
add statements and link regarding a warning at first start of bottles
 
(2 intermediate revisions by 2 users not shown)
Line 2: Line 2:


== Installation ==
== Installation ==
Simply [[Adding programs to PATH|install]] the <code>bottles</code> package.
Simply [[Adding programs to PATH|install]] the <code>bottles</code> package:
 
<syntaxhighlight lang="nix">
environment.systemPackages = with pkgs; [
  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>
 
=== Home Manager ===
 
Add the package to your <code>[https://home-manager-options.extranix.com/?release=master&query=home.packages home.packages]</code>:
 
<syntaxhighlight lang="nix">
home.packages = with pkgs; [     
  bottles
];
</syntaxhighlight>


[[Category:Applications]]
[[Category:Applications]]
[[Category:Gaming]]
[[Category:Gaming]]

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
];