diff --git a/homeManagerModules/defaultApps.nix b/homeManagerModules/defaultApps.nix index b9b804d2..dba48883 100644 --- a/homeManagerModules/defaultApps.nix +++ b/homeManagerModules/defaultApps.nix @@ -10,7 +10,7 @@ editor.package fileManager.package imageViewer.package - pdfEditor.package + pdfViewer.package terminal.package terminalEditor.package videoPlayer.package @@ -28,7 +28,7 @@ xdg.mimeApps = { enable = true; defaultApplications = { - "application/pdf" = config.alyraffauf.defaultApps.pdfEditor.desktop; + "application/pdf" = config.alyraffauf.defaultApps.pdfViewer.desktop; "application/x-shellscript" = config.alyraffauf.defaultApps.editor.desktop; "application/xhtml+xml" = config.alyraffauf.defaultApps.webBrowser.desktop; "audio/flac" = config.alyraffauf.defaultApps.audioPlayer.desktop; diff --git a/homeManagerModules/options.nix b/homeManagerModules/options.nix index 528ae57d..417918dd 100644 --- a/homeManagerModules/options.nix +++ b/homeManagerModules/options.nix @@ -118,19 +118,19 @@ type = lib.types.package; }; }; - pdfEditor = { + pdfViewer = { exe = lib.mkOption { - description = "Default PDF editor executable."; + description = "Default PDF viewer executable."; default = lib.getExe config.alyraffauf.defaultApps.pdfEditor.package; type = lib.types.str; }; desktop = lib.mkOption { - description = "Default PDF Editor desktop file."; + description = "Default PDF viewer desktop file."; default = "org.gnome.Evince.desktop"; type = lib.types.str; }; package = lib.mkOption { - description = "Default PDF Editor package."; + description = "Default PDF viewer package."; default = pkgs.evince; type = lib.types.package; };