From 90a55e87f59871262c737a8f2435ffcbc72f8402 Mon Sep 17 00:00:00 2001 From: fleaz Date: Tue, 13 Sep 2022 10:45:10 +0200 Subject: [PATCH] milhouse: Add k40 module --- machines/milhouse/configuration.nix | 1 + modules/k40.nix | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 modules/k40.nix diff --git a/machines/milhouse/configuration.nix b/machines/milhouse/configuration.nix index d45b3c2..62c1e99 100644 --- a/machines/milhouse/configuration.nix +++ b/machines/milhouse/configuration.nix @@ -7,6 +7,7 @@ ../../roles/laptop.nix ../../modules/luks.nix ../../modules/grub.nix + ../../modules/k40.nix ]; networking.hostName = "milhouse"; # Define your hostname. diff --git a/modules/k40.nix b/modules/k40.nix new file mode 100644 index 0000000..ecabd73 --- /dev/null +++ b/modules/k40.nix @@ -0,0 +1,8 @@ +{ + programs.k40-whisperer = { + enable = true; + }; + + # Allow access to device via udev rule + users.uers.fleaz.extraGroups = ["k40"]; +}