mirror of
https://github.com/nix-community/home-manager
synced 2024-11-26 06:30:28 +00:00
k9s: fix typos in configuration file names
This commit is contained in:
parent
630a0992b3
commit
76a1650c45
2 changed files with 8 additions and 8 deletions
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue