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
20
modules/home/zathura/default.nix
Normal file
20
modules/home/zathura/default.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{ config, lib, ... }:
|
||||
let
|
||||
cfg = config.my.home.zathura;
|
||||
in
|
||||
{
|
||||
options.my.home.zathura = with lib; {
|
||||
enable = mkEnableOption "zathura configuration";
|
||||
};
|
||||
|
||||
config.programs.zathura = lib.mkIf cfg.enable {
|
||||
enable = true;
|
||||
|
||||
options = {
|
||||
# Show '~' instead of full path to '$HOME' in window title
|
||||
"window-title-home-tilde" = true;
|
||||
# Show '~' instead of full path to '$HOME' in status bar
|
||||
"statusbar-home-tilde" = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue