This commit is contained in:
parent
67609c4086
commit
679a090012
4 changed files with 29 additions and 43 deletions
|
@ -8,7 +8,6 @@
|
||||||
|
|
||||||
features = {
|
features = {
|
||||||
cli = {
|
cli = {
|
||||||
bluetuith.enable = true;
|
|
||||||
bookmarkthis.enable = true;
|
bookmarkthis.enable = true;
|
||||||
direnv.enable = true;
|
direnv.enable = true;
|
||||||
node.enable = true;
|
node.enable = true;
|
||||||
|
|
|
@ -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: {}
|
|
||||||
}
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1,6 +1,5 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./bluetuith.nix
|
|
||||||
./bookmarkthis.nix
|
./bookmarkthis.nix
|
||||||
./browsers/chromium.nix
|
./browsers/chromium.nix
|
||||||
./browsers/firefox.nix
|
./browsers/firefox.nix
|
||||||
|
|
29
modules2/bluetuith.nix
Normal file
29
modules2/bluetuith.nix
Normal 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: {}
|
||||||
|
}
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue