mirror of
https://github.com/drduh/YubiKey-Guide.git
synced 2025-05-11 16:03:33 +02:00
organize nixos files
This commit is contained in:
parent
82d6f2aca1
commit
d7428c1290
4 changed files with 4 additions and 6 deletions
10
README.md
10
README.md
|
@ -204,9 +204,7 @@ brew install \
|
||||||
> [!NOTE]
|
> [!NOTE]
|
||||||
> An additional Python package dependency may need to be installed to use [`ykman`](https://support.yubico.com/support/solutions/articles/15000012643-yubikey-manager-cli-ykman-user-guide) - `pip install yubikey-manager`
|
> An additional Python package dependency may need to be installed to use [`ykman`](https://support.yubico.com/support/solutions/articles/15000012643-yubikey-manager-cli-ykman-user-guide) - `pip install yubikey-manager`
|
||||||
|
|
||||||
Or
|
Or using [MacPorts](https://www.macports.org/install.php), install the following packages:
|
||||||
|
|
||||||
Install [MacPorts](https://www.macports.org/install.php) and the following packages:
|
|
||||||
|
|
||||||
```console
|
```console
|
||||||
sudo port install gnupg2 yubikey-manager pinentry wget
|
sudo port install gnupg2 yubikey-manager pinentry wget
|
||||||
|
@ -237,7 +235,7 @@ Build the image:
|
||||||
nix build --experimental-features "nix-command flakes" .#nixosConfigurations.yubikeyLive.x86_64-linux.config.system.build.isoImage
|
nix build --experimental-features "nix-command flakes" .#nixosConfigurations.yubikeyLive.x86_64-linux.config.system.build.isoImage
|
||||||
```
|
```
|
||||||
|
|
||||||
Copy it to a USB drive:
|
Copy to USB drive:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
sudo cp -v result/iso/yubikeyLive.iso /dev/sdc ; sync
|
sudo cp -v result/iso/yubikeyLive.iso /dev/sdc ; sync
|
||||||
|
@ -245,8 +243,8 @@ sudo cp -v result/iso/yubikeyLive.iso /dev/sdc ; sync
|
||||||
|
|
||||||
Skip steps to create a temporary working directory and a hardened configuration, as they are already part of the image.
|
Skip steps to create a temporary working directory and a hardened configuration, as they are already part of the image.
|
||||||
|
|
||||||
If you want to test your build before copying it into a USB stick, you can try it out on your machine using a tool like QEMU.
|
Test builds using virtualization tools like QEMU. Keep in mind a virtualized environment does not provide the same amount of security as an ephemeral system (see *Prepare environment* above).
|
||||||
Please keep in mind that a virtualized environment does not provide the same amount of security as an ephemeral system (see *Prepare environment* above).
|
|
||||||
Here is an example QEMU invocation after placing `yubikeyLive` in `result/iso` using the above `nix build` command:
|
Here is an example QEMU invocation after placing `yubikeyLive` in `result/iso` using the above `nix build` command:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
|
|
0
flake.lock → nix/flake.lock
generated
0
flake.lock → nix/flake.lock
generated
Loading…
Add table
Reference in a new issue