diff options
author | Janne Heß <janne@hess.ooo> | 2024-03-27 17:33:27 +0100 |
---|---|---|
committer | Valentin Gagarin <valentin.gagarin@tweag.io> | 2024-03-28 09:28:12 +0100 |
commit | bc77c7a9730833c7668c92288c6af950e7270cb5 (patch) | |
tree | 63a416edaa93c9899044ca886aaf6976474946ed /nixos/modules/programs/digitalbitbox/default.md | |
parent | 3a1b8df5dcf930de90b45694dd3ee5d142344123 (diff) | |
download | nixlib-bc77c7a9730833c7668c92288c6af950e7270cb5.tar nixlib-bc77c7a9730833c7668c92288c6af950e7270cb5.tar.gz nixlib-bc77c7a9730833c7668c92288c6af950e7270cb5.tar.bz2 nixlib-bc77c7a9730833c7668c92288c6af950e7270cb5.tar.lz nixlib-bc77c7a9730833c7668c92288c6af950e7270cb5.tar.xz nixlib-bc77c7a9730833c7668c92288c6af950e7270cb5.tar.zst nixlib-bc77c7a9730833c7668c92288c6af950e7270cb5.zip |
treewide: Mark Nix blocks in markdown as Nix
This should help us with highlighting and future formatting.
Diffstat (limited to 'nixos/modules/programs/digitalbitbox/default.md')
-rw-r--r-- | nixos/modules/programs/digitalbitbox/default.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nixos/modules/programs/digitalbitbox/default.md b/nixos/modules/programs/digitalbitbox/default.md index 9bca14e97ffe..c93d0f2b7f0a 100644 --- a/nixos/modules/programs/digitalbitbox/default.md +++ b/nixos/modules/programs/digitalbitbox/default.md @@ -4,7 +4,7 @@ Digital Bitbox is a hardware wallet and second-factor authenticator. The `digitalbitbox` programs module may be installed by setting `programs.digitalbitbox` to `true` in a manner similar to -``` +```nix programs.digitalbitbox.enable = true; ``` and bundles the `digitalbitbox` package (see [](#sec-digitalbitbox-package)), @@ -21,7 +21,7 @@ For more information, see <https://digitalbitbox.com/start_linux>. The binaries, `dbb-app` (a GUI tool) and `dbb-cli` (a CLI tool), are available through the `digitalbitbox` package which could be installed as follows: -``` +```nix environment.systemPackages = [ pkgs.digitalbitbox ]; @@ -31,13 +31,13 @@ environment.systemPackages = [ The digitalbitbox hardware package enables the udev rules for Digital Bitbox devices and may be installed as follows: -``` +```nix hardware.digitalbitbox.enable = true; ``` In order to alter the udev rules, one may provide different values for the `udevRule51` and `udevRule52` attributes by means of overriding as follows: -``` +```nix programs.digitalbitbox = { enable = true; package = pkgs.digitalbitbox.override { |