mirror of
https://github.com/srid/nixos-config.git
synced 2026-02-03 19:48:24 +08:00
14 lines
378 B
Nix
14 lines
378 B
Nix
{ pkgs, lib, ... }:
|
|
|
|
{
|
|
# Nix configuration is managed globally by nix-darwin.
|
|
# Prevent $HOME nix.conf from disrespecting it.
|
|
home.file.".config/nix/nix.conf".text = "";
|
|
|
|
# Global session path for all shells
|
|
home.sessionPath = lib.mkIf pkgs.stdenv.isDarwin [
|
|
"/etc/profiles/per-user/$USER/bin"
|
|
"/nix/var/nix/profiles/system/sw/bin"
|
|
"/usr/local/bin"
|
|
];
|
|
}
|