mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 19:46:05 +01:00
18 lines
366 B
Nix
18 lines
366 B
Nix
{ config, ... }:
|
|
|
|
{
|
|
programs.zsh = {
|
|
enable = true;
|
|
|
|
sessionVariables = {
|
|
PATH = "$HOME/bin:$PATH";
|
|
V1 = "v1";
|
|
V2 = "v2-${config.programs.zsh.sessionVariables.V1}";
|
|
};
|
|
};
|
|
|
|
nmt.script = ''
|
|
assertFileExists home-files/.zshenv
|
|
assertFileContent $(normalizeStorePaths home-files/.zshenv) ${./session-variables.zshenv}
|
|
'';
|
|
}
|