mirror of
https://github.com/eliasrenman/nixos-config.git
synced 2026-03-17 02:36:06 +01:00
Update README.md
This commit is contained in:
14
README.md
14
README.md
@@ -9,4 +9,18 @@
|
|||||||
* Generate hardware config: `nixos-generate-config`
|
* Generate hardware config: `nixos-generate-config`
|
||||||
* Install system: `nixos-install` (set root password)
|
* Install system: `nixos-install` (set root password)
|
||||||
* Reboot
|
* Reboot
|
||||||
|
* Login as root
|
||||||
* Set password for `will`: `passwd will`
|
* Set password for `will`: `passwd will`
|
||||||
|
* Log out and login as `will` setting `mate+xmonad` as desktop session
|
||||||
|
|
||||||
|
|
||||||
|
## Cheatsheet
|
||||||
|
### Nix
|
||||||
|
|
||||||
|
* Install a package: `nix-env -i packageName`
|
||||||
|
* List all available packages: `nix-env -qa` (take a while to run, best of dumping this and grepping the listing)
|
||||||
|
|
||||||
|
|
||||||
|
### NixOS
|
||||||
|
|
||||||
|
* Configuration file: `/etc/nixos/configuration.nix`
|
||||||
|
|||||||
Reference in New Issue
Block a user