mirror of
https://github.com/librephoenix/nixos-config
synced 2025-11-30 22:54:01 +05:30
Cleanup
This commit is contained in:
parent
98b74c560c
commit
da4e23a0d9
48 changed files with 71 additions and 3897 deletions
|
|
@ -1,15 +1,15 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
{ lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
config = {
|
||||
nixpkgs.overlays = [
|
||||
(self: super:
|
||||
{
|
||||
ranger = super.ranger.overrideAttrs (oldAttrs: rec {
|
||||
ranger = super.ranger.overrideAttrs (oldAttrs: {
|
||||
preConfigure = ''
|
||||
substituteInPlace ranger/__init__.py \
|
||||
--replace "DEFAULT_PAGER = 'less'" "DEFAULT_PAGER = '${lib.getBin pkgs.bat}/bin/bat'"
|
||||
|
||||
|
||||
# give image previews out of the box when building with w3m
|
||||
substituteInPlace ranger/config/rc.conf \
|
||||
--replace "set preview_images false" "set preview_images true"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue