mirror of
https://github.com/srid/nixos-config.git
synced 2025-12-26 15:04:59 +08:00
No need for initExtra
This commit is contained in:
parent
c3be5b79ce
commit
8472de8993
2 changed files with 10 additions and 8 deletions
|
|
@ -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"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
'';
|
||||
};
|
||||
}
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue