-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdefault.nix
More file actions
45 lines (42 loc) · 1.62 KB
/
default.nix
File metadata and controls
45 lines (42 loc) · 1.62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#
# The front-end to your dev env
# src: https://mise.jdx.dev/
#
{
programs.mise = {
enable = true;
# src: https://mise.jdx.dev/configuration.html#global-config-config-mise-config-toml
globalConfig = {
# Dev tools to install globally.
# To know the version, you can use the command `mise ls-remote <tool>`.
# NOTE: Each tool must register themselves by creating a
# $XDG_CONFIG_HOME/mise/conf.d/<tool>.toml file.
tools = {
};
settings = {
# Enable experimental if you want to use the golang backend to install 3rd party tools.
experimental = true;
trusted_config_paths = ["~/work" "~/perso"];
# Tools can read the versions files used by other version managers
# for example, .nvmrc in the case of node's nvm.
idiomatic_version_file_enable_tools = ["java" "node" "ruby"];
# Suppress the following warning for now:
# mise WARN env value contains '$' which will be expanded in a future release. Set `env_shell_expand = true` to opt in or `env_shell_expand = false` to keep current behavior and suppress this warning.
env_shell_expand = true;
};
};
};
home.sessionVariables = {
# print only stdout/stderr from tasks and nothing from mise
# src: https://mise.jdx.dev/configuration/settings.html#task_output
MISE_TASK_OUTPUT = "quiet";
};
xdg.configFile = {
"zsh/completions/_mise".source = ./.config/zsh/completions/_mise;
"zsh/plugins/mise" = {
source = ./.config/zsh/plugins/mise;
recursive = true;
};
"mise/conf.d/mise.toml".source = ./.config/mise/conf.d/mise.toml;
};
}