summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2017-10-28 11:58:46 +0200
committerAlan Pearce2017-10-28 12:14:14 +0200
commit496cfc51e4c157481d9911bf6993a930579c78b9 (patch)
tree58712c5dae65a4d954663f683640bfe260871741
parent6b27e743d57c3305a84267e654220f65eab724a3 (diff)
downloadnixfiles-496cfc51e4c157481d9911bf6993a930579c78b9.tar.lz
nixfiles-496cfc51e4c157481d9911bf6993a930579c78b9.tar.zst
nixfiles-496cfc51e4c157481d9911bf6993a930579c78b9.zip
Enable Trezor on marvin
-rw-r--r--marvin.nix1
-rw-r--r--modules/hardware/trezor.nix4
2 files changed, 5 insertions, 0 deletions
diff --git a/marvin.nix b/marvin.nix
index 9c7ba8c8..df798d49 100644
--- a/marvin.nix
+++ b/marvin.nix
@@ -17,6 +17,7 @@
     ./modules/hardware/nitrokey.nix
     ./modules/hardware/systemd-boot.nix
     ./modules/hardware/trackball.nix
+    ./modules/hardware/trezor.nix
     ./modules/machines/x250.nix
     ./modules/programs/accounting.nix
     ./modules/programs/dotfiles.nix
diff --git a/modules/hardware/trezor.nix b/modules/hardware/trezor.nix
new file mode 100644
index 00000000..ad938e9a
--- /dev/null
+++ b/modules/hardware/trezor.nix
@@ -0,0 +1,4 @@
+{ config, pkgs, ... }:
+
+{ services.trezord.enable = true;
+}