From 17820671918d04914b19de288631ebeb748d57cb Mon Sep 17 00:00:00 2001 From: Linnnus Date: Sun, 5 Jan 2025 17:09:45 +0100 Subject: hosts/muhammed: Add xkcdpass (again) This was originally done in 2995fc5 but got lost in refactoring. --- hosts/muhammed/extra-utils.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 hosts/muhammed/extra-utils.nix (limited to 'hosts/muhammed/extra-utils.nix') diff --git a/hosts/muhammed/extra-utils.nix b/hosts/muhammed/extra-utils.nix new file mode 100644 index 0000000..5cdd11c --- /dev/null +++ b/hosts/muhammed/extra-utils.nix @@ -0,0 +1,15 @@ +# This HM module adds extra utilities specific to this host. +{pkgs, ...}: let + # Set some default options + xkcdpass' = pkgs.writeShellScriptBin "xkcdpass" '' + ${pkgs.xkcdpass}/bin/xkcdpass --delimiter="" --case capitalize --numwords=5 "$@" + ''; +in { + home.packages = with pkgs; [ + imagemagick + ffmpeg_6-full + + # Generating passwords + xkcdpass' + ]; +} -- cgit v1.2.3