From 66ffa2470f7fae22b88c03c27aa7f0baf6906915 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sat, 2 Nov 2024 17:58:37 +0100 Subject: refactor(modules/legacy/less): Migrate to `by-name` --- modules/home.legacy/conf/less/default.nix | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 modules/home.legacy/conf/less/default.nix (limited to 'modules/home.legacy/conf/less/default.nix') diff --git a/modules/home.legacy/conf/less/default.nix b/modules/home.legacy/conf/less/default.nix deleted file mode 100644 index 9991ebef..00000000 --- a/modules/home.legacy/conf/less/default.nix +++ /dev/null @@ -1,18 +0,0 @@ -{config, ...}: { - home.sessionVariables = { - PAGER = "less"; - MANPAGER = "less --color=d+r --color=u+b"; - - # These are added here because adding them in the lesskey file somehow doesn't work. - LESSHISTSIZE = 10000; - LESSHISTFILE = "${config.xdg.dataHome}/less/history"; - }; - - programs.less = { - enable = true; - keys = - builtins.readFile ./command.less - + builtins.readFile ./line-edit.less - + builtins.readFile ./env.less; - }; -} -- cgit 1.4.1