Re-add bluetuith
This commit is contained in:
parent
9177cb3f9d
commit
8df5e6b623
|
@ -3,6 +3,7 @@
|
||||||
{
|
{
|
||||||
features = {
|
features = {
|
||||||
cli = {
|
cli = {
|
||||||
|
bluetuith.enable = true;
|
||||||
direnv.enable = true;
|
direnv.enable = true;
|
||||||
|
|
||||||
notes = {
|
notes = {
|
||||||
|
|
36
nix/modules/home-manager/features/cli/bluetuith.nix
Normal file
36
nix/modules/home-manager/features/cli/bluetuith.nix
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
|
||||||
|
with lib;
|
||||||
|
|
||||||
|
{
|
||||||
|
options.features.cli.bluetuith.enable = mkEnableOption "Enable bluetuith";
|
||||||
|
|
||||||
|
config = mkIf config.features.cli.bluetuith.enable {
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
bluetuith
|
||||||
|
];
|
||||||
|
|
||||||
|
xdg.configFile."bluetuith/bluetuith.conf" = {
|
||||||
|
text = ''
|
||||||
|
{
|
||||||
|
adapter: ""
|
||||||
|
adapter-states: ""
|
||||||
|
connect-bdaddr: ""
|
||||||
|
gsm-apn: ""
|
||||||
|
gsm-number: ""
|
||||||
|
keybindings: {
|
||||||
|
NavigateDown: j
|
||||||
|
NavigateUp: k
|
||||||
|
}
|
||||||
|
receive-dir: ""
|
||||||
|
theme: {}
|
||||||
|
}
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -3,6 +3,7 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./bin.nix
|
./bin.nix
|
||||||
|
./bluetuith.nix
|
||||||
./direnv.nix
|
./direnv.nix
|
||||||
./fzf.nix
|
./fzf.nix
|
||||||
./git.nix
|
./git.nix
|
||||||
|
|
Loading…
Reference in a new issue