mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-11-24 22:29:33 +01:00
update README
This commit is contained in:
parent
69cf712b14
commit
1da7daafcd
11
README.md
11
README.md
@ -24,7 +24,7 @@ During installation, select manual partitioning:
|
|||||||
Directly change to new config and make it default:
|
Directly change to new config and make it default:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
sudo nixos-rebuild -I nixos-config=hosts/yodaTab/configuration.nix switch
|
sudo nixos-rebuild -I nixos-config=hosts/$(hostname)/configuration.nix switch
|
||||||
```
|
```
|
||||||
|
|
||||||
## System updates
|
## System updates
|
||||||
@ -36,11 +36,6 @@ sudo nix-channel --update
|
|||||||
```
|
```
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
# The -s param does currently not work for both, .nix and .json file.
|
|
||||||
# Workaround: https://github.com/nmattia/niv/pull/133#issuecomment-703322261
|
|
||||||
#
|
|
||||||
#niv --sources-file=yodaTab/nix/sources.json update
|
|
||||||
#
|
|
||||||
niv update
|
niv update
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -143,7 +138,7 @@ Summary:
|
|||||||
* Create subvolume `@swap` directly below top-level subvolume.
|
* Create subvolume `@swap` directly below top-level subvolume.
|
||||||
* Mount at `/swap`
|
* Mount at `/swap`
|
||||||
* Create swapfile: `sudo btrfs filesystem mkswapfile --size 8g --uuid clear /swap/swapfile`
|
* Create swapfile: `sudo btrfs filesystem mkswapfile --size 8g --uuid clear /swap/swapfile`
|
||||||
* Regenerate hardware-configuration: `sudo nixos-generate-config --dir yodaTab`
|
* Regenerate hardware-configuration: `sudo nixos-generate-config --dir $(hostname)`
|
||||||
* Add `swapDevices = [ { device = "/swap/swapfile"; } ];` to hardware configuration and run `nixos-rebuild switch` (see above).
|
* Add `swapDevices = [ { device = "/swap/swapfile"; } ];` to hardware configuration and run `nixos-rebuild switch` (see above).
|
||||||
|
|
||||||
## Automount Encrypted Drive
|
## Automount Encrypted Drive
|
||||||
@ -153,7 +148,7 @@ Summary:
|
|||||||
* Re-generate hardware configuration:
|
* Re-generate hardware configuration:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
sudo nixos-generate-config --dir hosts/yodaTab
|
sudo nixos-generate-config --dir hosts/$(hostname)
|
||||||
```
|
```
|
||||||
|
|
||||||
## GNOME extensions
|
## GNOME extensions
|
||||||
|
Loading…
Reference in New Issue
Block a user