Cheatsheet: Difference between revisions

imported>Lheckemann
No edit summary
imported>Vater
mNo edit summary
Line 54: Line 54:
|-
|-
|Install a package
|Install a package
|<syntaxhighlight lang="nix">sudo apt-get install emacs</syntaxhighlight>
|<syntaxhighlight lang="bash">sudo apt-get install emacs</syntaxhighlight>
|In /etc/nixos/configuration.nix:
|In /etc/nixos/configuration.nix:
If it's a program add to systemPackages:
If it's a program add to systemPackages: