# Dotter only support merging tables, and put the key-values into the global scope of the tables # If we try to use the same variable name in a package, it will throw an error # if we try to use the same key in a nested table, it will be overriden with the last value # # the fix to this is to have a table with unique keys, this is supported by handlerbars {{#each}} directive # but will give us an array as value, so we need to flatten it [utils.variables] pkg-install = "sudo dnf install -y" [cli.variables.copr] cli = [ "atim/lazygit", "atim/starship" ] [cli.variables.packages] cli = [ "bat", "dnf-plugin-system-upgrade", "duf", "eza", "fd-find", # "firefox-dev", "flatpak", "fzf", "git", "kitty", "lazygit", "neovim", "remove-retired-packages", "ripgrep", "sd", "starship", "tealdeer", "zoxide", "zsh", ] [dev.variables.packages] dev = [ "gcc", "gcc-c++", "nodejs", "openssl", "openssl-devel", "tmux", "tree-sitter-cli", ] [zsh.variables.packages] zssh = [ "zsh" ] [rust.variables] cargo.packages = [ "yazi-fm", "yazi-cli", ]