Fixed typos and formatting

This commit is contained in:
isaacST08 2025-02-10 15:24:39 -07:00
commit fe84f0e56f
11 changed files with 27 additions and 27 deletions

View file

@ -2,7 +2,7 @@
pkgs,
lib,
...
} @ moduleInheritencePackage: let
} @ moduleInheritancePackage: let
# The name of the pdf viewer
name = "custom";
@ -13,7 +13,7 @@
inherit (lib.types) package str listOf;
in (
template {
inherit name moduleInheritencePackage;
inherit name moduleInheritancePackage;
options = {
enable = mkEnableOption "enable using a custom pdf viewer.";

View file

@ -2,7 +2,7 @@
pkgs,
lib,
...
} @ moduleInheritencePackage: let
} @ moduleInheritancePackage: let
# The name of the pdf viewer
name = "okular";
@ -13,7 +13,7 @@
inherit (lib.types) package str listOf;
in (
template {
inherit name moduleInheritencePackage;
inherit name moduleInheritancePackage;
options = {
enable = mkEnableOption "enable okular as the pdf file previewer.";

View file

@ -2,7 +2,7 @@
pkgs,
lib,
...
} @ moduleInheritencePackage: let
} @ moduleInheritancePackage: let
# The name of the pdf viewer
name = "qpdfview";
@ -13,7 +13,7 @@
inherit (lib.types) package str listOf;
in (
template {
inherit name moduleInheritencePackage;
inherit name moduleInheritancePackage;
options = {
enable = mkEnableOption "enable qpdfview as the pdf file previewer.";

View file

@ -2,7 +2,7 @@
pkgs,
lib,
...
} @ moduleInheritencePackage: let
} @ moduleInheritancePackage: let
# The name of the pdf viewer
name = "sioyek";
@ -13,7 +13,7 @@
inherit (lib.types) package str listOf;
in (
template {
inherit name moduleInheritencePackage;
inherit name moduleInheritancePackage;
options = {
enable = mkEnableOption "enable sioyek as the pdf file previewer.";

View file

@ -10,7 +10,7 @@
#
# Module attribute set. This is the attribute set that the module that is
# defining a pdf viewer is passed as its input.
moduleInheritencePackage,
moduleInheritancePackage,
#
# These are the standard options for the pdf viewer just like creating any
# other module. Some options are required and are described below but
@ -25,7 +25,7 @@
...
}: let
# Inherit the necessary variables available to any module.
inherit (moduleInheritencePackage) lib config;
inherit (moduleInheritancePackage) lib config;
#
# Inherit other useful functions.
inherit (lib.modules) mkIf;

View file

@ -2,7 +2,7 @@
pkgs,
lib,
...
} @ moduleInheritencePackage: let
} @ moduleInheritancePackage: let
# The name of the pdf viewer
name = "zathura";
@ -13,7 +13,7 @@
inherit (lib.types) package str listOf;
in (
template {
inherit name moduleInheritencePackage;
inherit name moduleInheritancePackage;
options = {
enable = mkEnableOption "enable zathura as the pdf file previewer.";