nixos/home-manager/modules/tofi.nix

16 lines
347 B
Nix
Raw Normal View History

2024-02-29 15:14:18 +01:00
{ inputs, pkgs, ... }:
{
# Install tofi
home.packages = with pkgs; [
tofi
(writeShellScriptBin "tofi-pass" ''
tofi --hide-input true --prompt-text 'Password: ' --require-match false --hidden-character '.' < /dev/null
'')
];
# Setup my config file
home.file = {
".config/tofi/config".source = ./confs/tofi;
};
}