Skip to content

Commit cebc351

Browse files
committed
docs: update password generation and makemkv invokation
1 parent 410a87f commit cebc351

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ sudo reboot
301301
# otherwise the optical drive is not found: https://discourse.nixos.org/t/makemkv-cant-find-my-usb-blu-ray-drive/23714
302302
sudo modprobe sg
303303
# if that does not work, try again with sudo
304-
NIXPKGS_ALLOW_UNFREE=1 nix run pkgs#makemkv --impure
304+
nix run github:mirkolenz/nixos#makemkv
305305
```
306306

307307
### Investigate ID Mappings
@@ -313,5 +313,8 @@ sudo podman run --rm --subuidname=$USER ubuntu cat /proc/self/uid_map
313313
### Password Hashing
314314

315315
```shell
316-
mkpasswd -m yescrypt > FILENAME.txt
316+
sudo mkdir -p /etc/nixos/secrets
317+
sudo chmod 700 /etc/nixos/secrets
318+
sudo mkpasswd -m yescrypt > /etc/nixos/secrets/USER.passwd
319+
sudo chmod 600 /etc/nixos/secrets/USER.passwd
317320
```

0 commit comments

Comments
 (0)