File tree Expand file tree Collapse file tree 2 files changed +60
-8
lines changed
Expand file tree Collapse file tree 2 files changed +60
-8
lines changed Original file line number Diff line number Diff line change @@ -47,28 +47,38 @@ After installing Millennium through the AUR, simply launch steam.
4747::: details NixOS
4848
4949We officially offer nix package for millennium. Currently, it isn't available in nixpkgs, but you can use our flake.
50+ - Step 1 is done in flake.nix file.
51+ - Steps 2, 3.a, 3.b are done in configuration.nix file.
5052
51- 1 . Add input to your flake.
53+ 1 . Add input to your flake:
5254
5355``` nix
5456inputs.millennium.url = "git+https://github.com/SteamClientHomebrew/Millennium";
5557```
5658
57- 1 . import overlay
59+ 2 . Import millennium overlay:
5860
5961``` nix
60- nixpkgs.overlay = [
61- inputs.millennium.overlays.default
62- ];
62+ nixpkgs.overlays = [ inputs.millennium.overlays.default ];
6363```
6464
65- 1 . If you're using the NixOS Steam module, set millennium as the Steam package:
65+ 3.a If you're using a NixOS Steam module, set millennium as the Steam package:
6666
6767``` nix
68- programs.steam.package = pkgs.steam-millennium;
68+ programs.steam = {
69+ enable = true;
70+ package = pkgs.steam-millennium;
71+ };
6972```
7073
71- If you're not using the Steam module, just replace steam with millennium in your list of packages.
74+ 3.b If you're not using the Steam module, just replace steam with millennium in your list of packages:
75+
76+ ``` nix
77+ environment.systemPackages = with pkgs; [
78+ # Your other packages...
79+ steam-millennium
80+ ];
81+ ```
7282
7383:::
7484
Original file line number Diff line number Diff line change @@ -59,6 +59,48 @@ And that's it!
5959
6060:::
6161
62+ ::: details NixOS
63+
64+ Step 1 is done in flake.nix file.
65+ Steps 2, 3.a, 3.b are done in configuration.nix file.
66+
67+ 1 . Remove input from your flake:
68+
69+ ``` nix
70+ inputs.millennium.url = "git+https://github.com/SteamClientHomebrew/Millennium";
71+ ```
72+
73+ 2 . Remove millennium overlay:
74+
75+ ``` nix
76+ nixpkgs.overlays = [ inputs.millennium.overlays.default ];
77+ ```
78+
79+ 3.a If you're using a NixOS Steam module, remove millennium as the Steam package:
80+
81+ ``` nix
82+ programs.steam = {
83+ enable = true;
84+ package = pkgs.steam-millennium; // [!code --]
85+ };
86+ ```
87+
88+ 3.b If you're not using the Steam module, just remove millennium from your list of packages:
89+
90+ ``` nix
91+ environment.systemPackages = with pkgs; [
92+ # Your other packages...
93+ steam-millennium // [!code --]
94+ ];
95+ ```
96+
97+ 4 . You may need to manually delete Themes, Config and Plugins. (replacing {steam}, {$HOME} with actual locations)
98+ - ` {steam}/steamui/skins ` - User Themes
99+ - ` {$HOME}/.config/millennium ` - Config
100+ - ` {$HOME}/.local/share/millennium ` - Plugins
101+
102+ :::
103+
62104::: details Other Distributions
63105
64106``` sh
You can’t perform that action at this time.
0 commit comments