home: put modules into folders

This commit is contained in:
Bruno BELANYI 2021-09-25 15:28:10 +02:00
parent 5b0e0bcbc2
commit dc5a44ce82
24 changed files with 23 additions and 23 deletions

20
home/zathura/default.nix Normal file
View 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;
};
};
}