mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 19:46:05 +01:00
24 lines
493 B
Nix
24 lines
493 B
Nix
{ config, ... }:
|
|
{
|
|
programs = {
|
|
mise = {
|
|
package = config.lib.test.mkStubPackage {
|
|
name = "mise";
|
|
buildScript = ''
|
|
mkdir -p $out/bin
|
|
touch $out/bin/mise
|
|
chmod +x $out/bin/mise
|
|
'';
|
|
};
|
|
enable = true;
|
|
enableNushellIntegration = true;
|
|
};
|
|
|
|
nushell.enable = true;
|
|
};
|
|
|
|
nmt.script = ''
|
|
assertFileRegex home-files/.config/nushell/config.nu \
|
|
'use \/nix\/store\/.*-mise-nushell-config.nu'
|
|
'';
|
|
}
|