mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-12 01:09:24 +08:00
14 lines
546 B
Nix
14 lines
546 B
Nix
inputs:
|
|
{
|
|
config = let inherit (inputs.config.nixos) user; in inputs.lib.mkIf (builtins.elem "hjp" user.users)
|
|
{
|
|
home-manager.users.hjp.config.programs.zsh.initContent =
|
|
''
|
|
export PATH=$PATH:/home/hjp/software/intel/oneapi/compiler/latest/bin:/home/hjp/software/atomkit.0.9.0/bin
|
|
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/hjp/software/intel/oneapi/compiler/latest/lib
|
|
'';
|
|
users.users.hjp.extraGroups = inputs.lib.mkIf (inputs.config.nixos.model.cluster.clusterName or null == "srv2")
|
|
[ "wheel" ];
|
|
};
|
|
}
|