1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-29 19:17:45 +00:00

Set bat as pager only in home

This commit is contained in:
RGBCube 2023-05-24 20:38:54 +03:00
parent 7360237ab8
commit 6e9a189d88
No known key found for this signature in database

View file

@ -1,11 +1,11 @@
{ lib, pkgs, systemConfiguration, systemPackages, ... }: lib.recursiveUpdate
{ lib, pkgs, systemPackages, homeConfiguration, ... }: lib.recursiveUpdate
(with pkgs; systemPackages [
bat
])
(systemConfiguration {
environment.sessionVariables = {
(homeConfiguration "nixos" {
programs.nushell.environmentVariables = {
PAGER = "bat --plain";
MANPAGER = "sh -c 'col --spaces --no-backspaces | bat --plain --language man'";
};