home: create 'modules/home' folder
Consolidating all modules under the same path, to clear out the top-level directory.
This commit is contained in:
parent
c856933803
commit
65a8f7c481
119 changed files with 2 additions and 2 deletions
18
modules/home/bat/default.nix
Normal file
18
modules/home/bat/default.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{ config, lib, ... }:
|
||||
let
|
||||
cfg = config.my.home.bat;
|
||||
in
|
||||
{
|
||||
options.my.home.bat = with lib; {
|
||||
enable = my.mkDisableOption "bat configuration";
|
||||
};
|
||||
|
||||
config.programs.bat = lib.mkIf cfg.enable {
|
||||
enable = true;
|
||||
config = {
|
||||
theme = "gruvbox-dark";
|
||||
|
||||
pager = with config.home.sessionVariables; "${PAGER} ${LESS}";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue