Bottles: Difference between revisions
Appearance
Create page for Bottles |
add statements and link regarding a warning at first start of bottles |
||
| (3 intermediate revisions by 3 users not shown) | |||
| Line 2: | Line 2: | ||
== Installation == | == Installation == | ||
Simply [[Adding programs to PATH|install]] the <code>bottles</code> package: | |||
<syntaxhighlight lang=" | <syntaxhighlight lang="nix"> | ||
environment.systemPackages = with pkgs; [ | 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 | bottles | ||
]; | ]; | ||
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
];