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:
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 [
|
||||
bat
|
||||
])
|
||||
|
||||
(systemConfiguration {
|
||||
environment.sessionVariables = {
|
||||
(homeConfiguration "nixos" {
|
||||
programs.nushell.environmentVariables = {
|
||||
PAGER = "bat --plain";
|
||||
MANPAGER = "sh -c 'col --spaces --no-backspaces | bat --plain --language man'";
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue