diff --git a/modules/programs/k9s.nix b/modules/programs/k9s.nix
index 900e129e1034..a9e3fe55a471 100644
--- a/modules/programs/k9s.nix
+++ b/modules/programs/k9s.nix
@@ -80,7 +80,7 @@ in {
type = yamlFormat.type;
default = { };
description = ''
- Hotkeys written to {file}`$XDG_CONFIG_HOME/k9s/hotkey.yaml`. See
+ Hotkeys written to {file}`$XDG_CONFIG_HOME/k9s/hotkeys.yaml`. See
for supported values.
'';
example = literalExpression ''
@@ -101,7 +101,7 @@ in {
type = yamlFormat.type;
default = { };
description = ''
- Plugins written to {file}`$XDG_CONFIG_HOME/k9s/plugin.yaml`. See
+ Plugins written to {file}`$XDG_CONFIG_HOME/k9s/plugins.yaml`. See
for supported values.
'';
example = literalExpression ''
@@ -178,11 +178,11 @@ in {
source = yamlFormat.generate "k9s-aliases" cfg.aliases;
};
- "k9s/hotkey.yaml" = mkIf (cfg.hotkey != { }) {
+ "k9s/hotkeys.yaml" = mkIf (cfg.hotkey != { }) {
source = yamlFormat.generate "k9s-hotkey" cfg.hotkey;
};
- "k9s/plugin.yaml" = mkIf (cfg.plugin != { }) {
+ "k9s/plugins.yaml" = mkIf (cfg.plugin != { }) {
source = yamlFormat.generate "k9s-plugin" cfg.plugin;
};
diff --git a/tests/modules/programs/k9s/example-settings.nix b/tests/modules/programs/k9s/example-settings.nix
index 7816a050fd2a..f37f192c3fb0 100644
--- a/tests/modules/programs/k9s/example-settings.nix
+++ b/tests/modules/programs/k9s/example-settings.nix
@@ -89,17 +89,17 @@
assertFileContent \
home-files/.config/k9s/skins/alt-skin.yaml \
${./example-skin-expected-alt.yaml}
- assertFileExists home-files/.config/k9s/hotkey.yaml
+ assertFileExists home-files/.config/k9s/hotkeys.yaml
assertFileContent \
- home-files/.config/k9s/hotkey.yaml \
+ home-files/.config/k9s/hotkeys.yaml \
${./example-hotkey-expected.yaml}
assertFileExists home-files/.config/k9s/aliases.yaml
assertFileContent \
home-files/.config/k9s/aliases.yaml \
${./example-aliases-expected.yaml}
- assertFileExists home-files/.config/k9s/plugin.yaml
+ assertFileExists home-files/.config/k9s/plugins.yaml
assertFileContent \
- home-files/.config/k9s/plugin.yaml \
+ home-files/.config/k9s/plugins.yaml \
${./example-plugin-expected.yaml}
assertFileExists home-files/.config/k9s/views.yaml
assertFileContent \