mirror of
https://github.com/RGBCube/ncc
synced 2025-07-30 11:37:44 +00:00
Set bat as pager only in home
This commit is contained in:
parent
7360237ab8
commit
6e9a189d88
1 changed files with 3 additions and 3 deletions
|
@ -1,11 +1,11 @@
|
||||||
{ lib, pkgs, systemConfiguration, systemPackages, ... }: lib.recursiveUpdate
|
{ lib, pkgs, systemPackages, homeConfiguration, ... }: lib.recursiveUpdate
|
||||||
|
|
||||||
(with pkgs; systemPackages [
|
(with pkgs; systemPackages [
|
||||||
bat
|
bat
|
||||||
])
|
])
|
||||||
|
|
||||||
(systemConfiguration {
|
(homeConfiguration "nixos" {
|
||||||
environment.sessionVariables = {
|
programs.nushell.environmentVariables = {
|
||||||
PAGER = "bat --plain";
|
PAGER = "bat --plain";
|
||||||
MANPAGER = "sh -c 'col --spaces --no-backspaces | bat --plain --language man'";
|
MANPAGER = "sh -c 'col --spaces --no-backspaces | bat --plain --language man'";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue