Skip to content

Commit edddd9d

Browse files
authored
Merge pull request #35 from DioKyrie-Git/main
Fix error in NixOS guide and update Steps.
2 parents f862a5a + 1adefaf commit edddd9d

File tree

2 files changed

+60
-8
lines changed

2 files changed

+60
-8
lines changed

apps/docs/src/users/getting-started/installation.md

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -47,28 +47,38 @@ After installing Millennium through the AUR, simply launch steam.
4747
::: details NixOS
4848

4949
We 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
5456
inputs.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

apps/docs/src/users/parting-ways/uninstall.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)