commit c22d6082d1fa5f55a5019cf7f4623f9ce576a3de parent 9526352eadba5b57ca8c835a7c964d69165491d4 Author: Vincent Demeester <vincent@sbr.pm> Date: Sat, 26 Jan 2019 16:45:57 +0100 Add nr configuration and hook Signed-off-by: Vincent Demeester <vincent@sbr.pm> Diffstat:
M | machines/shikoku.nix | | | 11 | +++++++++++ |
1 file changed, 11 insertions(+), 0 deletions(-)
diff --git a/machines/shikoku.nix b/machines/shikoku.nix @@ -36,4 +36,15 @@ obs-studio virtmanager ]; + + xdg.configFile."nr" = { + text = builtins.toJSON [ + {cmd = "mr";} + {cmd = "sshfs";} + {cmd = "lspci"; pkg = "pciutils";} + {cmd = "lsusb"; pkg = "usbutils";} + {cmd = "wakeonlan"; pkg = "python36Packages.wakeonlan";} + ]; + onChange = "${pkgs.nur.repos.vdemeester.nr}/bin/nr"; + }; }