mirror of
https://github.com/nix-community/home-manager.git
synced 2026-10-02 19:49:18 +00:00
20 lines
527 B
Nix
20 lines
527 B
Nix
{
|
|
programs.moor = {
|
|
enable = true;
|
|
options = {
|
|
no-linenumbers = true;
|
|
no-search-line-highlight = true;
|
|
no-statusbar = true;
|
|
quit-if-one-screen = true;
|
|
terminal-fg = true;
|
|
};
|
|
};
|
|
|
|
nmt.script = ''
|
|
assertFileContains home-path/etc/profile.d/hm-session-vars.sh \
|
|
'MOOR="--no-linenumbers --no-search-line-highlight --no-statusbar --quit-if-one-screen --terminal-fg"'
|
|
assertFileContains home-path/etc/profile.d/hm-session-vars.sh \
|
|
'PAGER="@moor@/bin/moor"'
|
|
'';
|
|
}
|