mirror of
https://github.com/nix-community/home-manager.git
synced 2025-03-10 18:57:22 +00:00
21 lines
549 B
Nix
21 lines
549 B
Nix
{ config, ... }: {
|
|
programs = {
|
|
mise = {
|
|
package = config.lib.test.mkStubPackage { name = "mise"; };
|
|
enable = true;
|
|
enableNushellIntegration = true;
|
|
};
|
|
|
|
nushell.enable = true;
|
|
};
|
|
|
|
nmt.script = ''
|
|
assertFileContains home-files/.config/nushell/env.nu \
|
|
'
|
|
let mise_path = $nu.default-config-dir | path join mise.nu
|
|
^mise activate nu | save $mise_path --force
|
|
'
|
|
assertFileContains home-files/.config/nushell/config.nu \
|
|
'use ($nu.default-config-dir | path join mise.nu)'
|
|
'';
|
|
}
|