1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-28 04:39:48 +01:00

k9s: fix typos in configuration file names

This commit is contained in:
Jose Plana 2024-04-10 10:24:46 +02:00 committed by Robert Helgesson
parent 630a0992b3
commit 76a1650c45
No known key found for this signature in database
GPG key ID: 96E745BD17AA17ED
2 changed files with 8 additions and 8 deletions

View file

@ -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 ''
@ -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 ''
@ -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;
};

View file

@ -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 \