Nix configurations for my homelab
0

Configure Feed

Select the types of activity you want to include in your feed.

modules/basic.nix: use `LESS` envvar instead of `programs.less.enable`

The way that `programs.less.enable` sets the envvar doesn't seem to
work: https://github.com/NixOS/nixpkgs/issues/354377

+3 -1
+3 -1
modules/basic.nix
··· 38 38 XDG_CONFIG_HOME = "$HOME/.config"; 39 39 XDG_DATA_HOME = "$HOME/.local/share"; 40 40 XDG_STATE_HOME = "$HOME/.local/state"; 41 + # FIXME: For some reason the LESSKEYIN_SYSTEM variable set by `programs.less` doesn't work? 42 + # https://github.com/NixOS/nixpkgs/issues/354377 43 + LESS = "-R"; 41 44 }; 42 45 systemPackages = with pkgs; [ 43 46 htop ··· 49 52 ]; 50 53 }; 51 54 52 - programs.less.enable = true; 53 55 security.polkit.enable = true; 54 56 55 57 services = {