# Downloading packages with Nixos issue

**URL:** https://discourse.nixos.org/t/downloading-packages-with-nixos-issue/21873
**Category:** Help
**Created:** [September 21, 2022, 7:49am UTC](https://discourse.nixos.org/t/downloading-packages-with-nixos-issue/21873 "2022-09-21T07:49:37Z")
**Posts on this page:** 10
**Page:** 2

<div class="post-metadata">

### Author: ![Batman123](https://discourse.nixos.org/letter_avatar_proxy/v4/letter/b/13edae/32.png) [@Batman123](https://discourse.nixos.org/u/Batman123)
#### Post date: [September 22, 2022, 6:55am UTC](https://discourse.nixos.org/t/downloading-packages-with-nixos-issue/21873/21 "2022-09-22T06:55:48Z")

</div>

Please just one info if I want to download steam what is the command line I tried NIV-E steam and it didnt work

---

<div class="post-metadata">

### Author: ![NobbZ](https://discourse.nixos.org/user_avatar/discourse.nixos.org/nobbz/32/7022_2.png) [@NobbZ](https://discourse.nixos.org/u/NobbZ)
#### Post date: [September 22, 2022, 7:01am UTC](https://discourse.nixos.org/t/downloading-packages-with-nixos-issue/21873/22 "2022-09-22T07:01:17Z")

</div>

You enable [`programs.steam.enable`](https://search.nixos.org/options?channel=22.05&show=programs.steam.enable&from=0&size=50&sort=relevance&type=packages&query=programs.steam.enable) in your configuration, then you rebuild the system using `sudo nixos-rebuild switch`. It always boild down to this:

- find option(s)
- set option(s)
- rebuild/switch

PS: I have no clue what “NIV-E” is, though if you meant to write `nix-env`, then yes, that does not work, as steam requires extra setup on the system level, which is done by enabling aforementioned option. In general: [don’t use `nix-env`](https://stop-using-nix-env.privatevoid.net/)

---

<div class="post-metadata">

### Author: ![Batman123](https://discourse.nixos.org/letter_avatar_proxy/v4/letter/b/13edae/32.png) [@Batman123](https://discourse.nixos.org/u/Batman123)
#### Post date: [September 22, 2022, 8:34am UTC](https://discourse.nixos.org/t/downloading-packages-with-nixos-issue/21873/23 "2022-09-22T08:34:01Z")

</div>

Yes t tried niv-env steam I mispelled before please what do you mean when you say You enable [ `programs.steam.enable`

---

<div class="post-metadata">

### Author: ![NobbZ](https://discourse.nixos.org/user_avatar/discourse.nixos.org/nobbz/32/7022_2.png) [@NobbZ](https://discourse.nixos.org/u/NobbZ)
#### Post date: [September 22, 2022, 8:40am UTC](https://discourse.nixos.org/t/downloading-packages-with-nixos-issue/21873/24 "2022-09-22T08:40:20Z")

</div>

As mentioned several times, it means that you:

1. open your systems configuration file (usually `/etc/nixos/configuration.nix`) in an editor (eg. `sudoedit /etc/nixos/configuration.nix`).
2. Integrate the `programs.steam.enable = true;` setting in the returned attributes set, such that the configuration remains syntactically and semantically valid.
3. Save the file and quit the editor
4. Run the command `sudo nixos-rebuild switch`

---

<div class="post-metadata">

### Author: ![Batman123](https://discourse.nixos.org/letter_avatar_proxy/v4/letter/b/13edae/32.png) [@Batman123](https://discourse.nixos.org/u/Batman123)
#### Post date: [September 22, 2022, 8:47am UTC](https://discourse.nixos.org/t/downloading-packages-with-nixos-issue/21873/25 "2022-09-22T08:47:43Z")

</div>

Is there any direct video that shows how to do this

---

<div class="post-metadata">

### Author: ![NobbZ](https://discourse.nixos.org/user_avatar/discourse.nixos.org/nobbz/32/7022_2.png) [@NobbZ](https://discourse.nixos.org/u/NobbZ)
#### Post date: [September 22, 2022, 8:48am UTC](https://discourse.nixos.org/t/downloading-packages-with-nixos-issue/21873/26 "2022-09-22T08:48:34Z")

</div>

Have you watched the series by Will that I already linked?

The should show the general process, there is probably not a video that shows enabling the steam option specifically.

---

<div class="post-metadata">

### Author: ![Batman123](https://discourse.nixos.org/letter_avatar_proxy/v4/letter/b/13edae/32.png) [@Batman123](https://discourse.nixos.org/u/Batman123)
#### Post date: [September 22, 2022, 8:56am UTC](https://discourse.nixos.org/t/downloading-packages-with-nixos-issue/21873/27 "2022-09-22T08:56:07Z")

</div>

yes I did but on youtube there are so many videos that show you on how nix os works some of them are very long

---

<div class="post-metadata">

### Author: ![NobbZ](https://discourse.nixos.org/user_avatar/discourse.nixos.org/nobbz/32/7022_2.png) [@NobbZ](https://discourse.nixos.org/u/NobbZ)
#### Post date: [September 22, 2022, 9:07am UTC](https://discourse.nixos.org/t/downloading-packages-with-nixos-issue/21873/28 "2022-09-22T09:07:18Z")

</div>

I skimmed the first three videos from Will. In the second and third video he opens the configuration several times and also edits it.

I assume your question is covered in those videos.

If you prefer to run arbitrary commands that change your system state arbitrarily, thats fine, though that is not what NixOS will give you.

In NixOS everything is build around the central configuration, written in the nix expression language. Quite a lot of other configuration of system services, cronjobs, editor configuration even can be done through that file and should be done there!

You do not learn nix expression language in 5 minutes, though thats enough for the basics.

You do not learn how to configure NixOS in an hour, but its enough to flip some options on and off.

NixOS will throw a lot of sticks between your feets, especially if you are not willing to unlearn. Though once you crossed the line, there is really no way back.

---

<div class="post-metadata">

### Author: ![Batman123](https://discourse.nixos.org/letter_avatar_proxy/v4/letter/b/13edae/32.png) [@Batman123](https://discourse.nixos.org/u/Batman123)
#### Post date: [September 22, 2022, 9:29am UTC](https://discourse.nixos.org/t/downloading-packages-with-nixos-issue/21873/29 "2022-09-22T09:29:03Z")

</div>

On the third video he opens the configuration several times and also edits please do you have the direct link that video regarding Nix os it is different to Ubuntu Arch there you just go and software center in Ubuntu and Arch also and download steam that’s it. Nix os is different takes time to learn.

---

<div class="post-metadata">

### Author: ![NobbZ](https://discourse.nixos.org/user_avatar/discourse.nixos.org/nobbz/32/7022_2.png) [@NobbZ](https://discourse.nixos.org/u/NobbZ)
#### Post date: [September 22, 2022, 9:41am UTC](https://discourse.nixos.org/t/downloading-packages-with-nixos-issue/21873/30 "2022-09-22T09:41:23Z")

</div>

> [@Downloading packages with Nixos issue](https://discourse.nixos.org/t/downloading-packages-with-nixos-issue/21873/17):
>
> There are videos on available on youtube. The series made by William T are often recommendet (I have not watched it).

Here I linked the playlist.

You won’t gain anything from a snippet where he opens and closes the editor for a quick change without the context.

Please do yourself a favour and watch the full series.

Alternatively the manual has a full [part about configuration](https://nixos.org/manual/nixos/stable/index.html#ch-configuration). Read it.

It even references back into the installation part to explain how to open the configuration.

[Previous page](https://discourse.nixos.org/t/downloading-packages-with-nixos-issue/21873.md?page=1)
