Skip to content

Commit

Permalink
k9s: fix typos in configuration file names
Browse files Browse the repository at this point in the history
  • Loading branch information
jplana authored and rycee committed Apr 14, 2024
1 parent 630a099 commit 76a1650
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions modules/programs/k9s.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
<https://k9scli.io/topics/hotkeys/> for supported values.
'';
example = literalExpression ''
Expand All @@ -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
<https://k9scli.io/topics/plugins/> for supported values.
'';
example = literalExpression ''
Expand Down Expand Up @@ -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;
};

Expand Down
8 changes: 4 additions & 4 deletions tests/modules/programs/k9s/example-settings.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 76a1650

Please sign in to comment.