No need for initExtra

This commit is contained in:
Sridhar Ratnakumar 2022-12-03 14:02:54 -05:00
parent c3be5b79ce
commit 8472de8993
2 changed files with 10 additions and 8 deletions

View file

@ -23,7 +23,13 @@
imports = [
self.homeModules.common
];
programs.zsh.enable = true;
# To put nix and home-manager-installed packages in PATH.
home.sessionPath = [
"/etc/profiles/per-user/$USER/bin"
"/run/current-system/sw/bin"
];
};
};
}

View file

@ -15,11 +15,10 @@
};
})
];
default.imports =
[
self.darwinModules.common
] ++
self.darwinModules.home.imports;
default.imports = [
self.darwinModules.common
self.darwinModules.home
];
};
lib-darwin.mkMacosSystem = userName: inputs.darwin.lib.darwinSystem rec {
system = "aarch64-darwin";
@ -40,9 +39,6 @@
userEmail = "srid@srid.ca";
})
];
programs.zsh.initExtra = ''
export PATH=/etc/profiles/per-user/${userName}/bin:/run/current-system/sw/bin/:$PATH
'';
};
}
];