mirror of
https://github.com/nix-community/home-manager
synced 2024-11-08 12:19:43 +01:00
31 lines
515 B
Nix
31 lines
515 B
Nix
|
{ ... }:
|
||
|
|
||
|
{
|
||
|
programs.nushell = {
|
||
|
enable = true;
|
||
|
|
||
|
configFile.text = ''
|
||
|
let $config = {
|
||
|
filesize_metric: false
|
||
|
table_mode: rounded
|
||
|
use_ls_colors: true
|
||
|
}
|
||
|
'';
|
||
|
|
||
|
envFile.text = ''
|
||
|
let-env FOO = 'BAR'
|
||
|
'';
|
||
|
};
|
||
|
|
||
|
test.stubs.nushell = { };
|
||
|
|
||
|
nmt.script = ''
|
||
|
assertFileContent \
|
||
|
home-files/.config/nushell/config.nu \
|
||
|
${./config-expected.nu}
|
||
|
assertFileContent \
|
||
|
home-files/.config/nushell/env.nu \
|
||
|
${./env-expected.nu}
|
||
|
'';
|
||
|
}
|