Move bluetuith configuration
All checks were successful
/ check (push) Successful in 1m37s

This commit is contained in:
Oliver Davies 2025-07-27 19:45:14 +01:00
parent 67609c4086
commit 679a090012
4 changed files with 29 additions and 43 deletions

View file

@ -8,7 +8,6 @@
features = {
cli = {
bluetuith.enable = true;
bookmarkthis.enable = true;
direnv.enable = true;
node.enable = true;

View file

@ -1,41 +0,0 @@
{
config,
lib,
pkgs,
...
}:
with lib;
let
cfg = config.features.cli.bluetuith;
in
{
options.features.cli.bluetuith.enable = mkEnableOption "Enable bluetuith";
config = mkIf cfg.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: {}
}
'';
};
};
}

View file

@ -1,6 +1,5 @@
{
imports = [
./bluetuith.nix
./bookmarkthis.nix
./browsers/chromium.nix
./browsers/firefox.nix

29
modules2/bluetuith.nix Normal file
View file

@ -0,0 +1,29 @@
{
flake.modules.homeManager.base =
{ pkgs, ... }:
{
home.packages = [
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: {}
}
'';
};
};
}