diff options
| author | Petri Hienonen <petri.hienonen@gmail.com> | 2025-12-15 09:46:58 +0200 |
|---|---|---|
| committer | Petri Hienonen <petri.hienonen@gmail.com> | 2025-12-15 09:46:58 +0200 |
| commit | 3a14e52fc594296c6c3c7b66205e0747219b6231 (patch) | |
| tree | 0812a38038aac5c365344c5598903077f04c3288 | |
| parent | 0df99f24d0df5c9420dd8168f24b60a85ed904f9 (diff) | |
| download | nixos-3a14e52fc594296c6c3c7b66205e0747219b6231.tar.zst | |
Update few configurations
| -rw-r--r-- | home/chawan.nix | 22 | ||||
| -rw-r--r-- | home/default.nix | 19 | ||||
| -rw-r--r-- | home/tenere.nix | 9 |
3 files changed, 20 insertions, 30 deletions
diff --git a/home/chawan.nix b/home/chawan.nix deleted file mode 100644 index b343c11..0000000 --- a/home/chawan.nix +++ /dev/null @@ -1,22 +0,0 @@ -{ vars, pkgs, ... }: - -{ - xdg.configFile."/home/petri/.config/chawan/config.toml".text = '' - [buffer] - autofocus = true - images = true - styling = true - scripting = true - history = true - - [input] - vi-numeric-prefix = true - - [page] - # Here, the arrow function will be called with the vi numbered prefix if - # one was input, and with no argument otherwise. - # The numeric prefix can never be zero, so it is safe to test for undefined - # using the ternary operator. - G = 'n => n ? pager.gotoLine(n) : pager.cursorLastLine()' - ''; -} diff --git a/home/default.nix b/home/default.nix index 12b7c10..7254058 100644 --- a/home/default.nix +++ b/home/default.nix @@ -19,7 +19,6 @@ in # ./quickshell (import ./nvim { inherit unstable; }) ./cargo.nix - ./chawan.nix ./chromium.nix ./dav ./dunst.nix @@ -110,6 +109,24 @@ in programs = { home-manager.enable = true; + chawan = { + enable = true; + settings = { + buffer = { + autofocus = true; + images = true; + styling = true; + scripting = true; + history = true; + }; + input = { + vi-numeric-prefix = true; + }; + chawan = { + G = "n => n ? pager.gotoLine(n) : pager.cursorLastLine()"; + }; + }; + }; nix-search-tv = { enable = true; enableTelevisionIntegration = true; diff --git a/home/tenere.nix b/home/tenere.nix index f7cfa29..7e4fcca 100644 --- a/home/tenere.nix +++ b/home/tenere.nix @@ -1,11 +1,6 @@ +{ config, pkgs, ... }: { - config, - inputs, - pkgs, - ... -}: -{ - xdg.configFile."/tenere/config.toml".text = '' + xdg.configFile."tenere/config.toml".text = '' llm = "chatgpt" [chatgpt] |
