From dccf0baed0c6b7f61b52fe79238197fb87406b40 Mon Sep 17 00:00:00 2001 From: teutat3s Date: Tue, 26 Apr 2022 11:22:04 +0200 Subject: [PATCH] terminal-life: use our hotkeys for pagers like bat and less --- flake.nix | 2 +- profiles/base-user/home.nix | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index b068afad..375e9ecd 100644 --- a/flake.nix +++ b/flake.nix @@ -22,7 +22,7 @@ bud.inputs.nixpkgs.follows = "nixos"; bud.inputs.devshell.follows = "digga/devshell"; - home.url = "github:nix-community/home-manager/release-21.11"; + home.url = "github:nix-community/home-manager/master"; home.inputs.nixpkgs.follows = "nixos"; darwin.url = "github:LnL7/nix-darwin"; diff --git a/profiles/base-user/home.nix b/profiles/base-user/home.nix index d8a331a9..19d2aaed 100644 --- a/profiles/base-user/home.nix +++ b/profiles/base-user/home.nix @@ -25,6 +25,16 @@ in programs.dircolors.enable = true; programs.dircolors.enableZshIntegration = true; + programs.less = { + enable = true; + keys = '' + k forw-line + i back-line + K forw-scroll + I back-scroll + ''; + }; + home.file."xinitrc".source = ./.xinitrc; xdg.enable = true;