1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2024-12-14 11:57:34 +00:00

environment: don't use default for profiles

This makes it easier to add entries without having to add all of the
default values again.
This commit is contained in:
Daiderd Jordan 2017-05-13 16:58:53 +02:00
parent ea179bf9bf
commit a0f2ceb787
No known key found for this signature in database
GPG key ID: D02435D05B810C96

View file

@ -40,12 +40,6 @@ in {
environment.profiles = mkOption {
type = types.listOf types.str;
default =
[ # Use user, default and system profiles.
"$HOME/.nix-profile"
"/nix/var/nix/profiles/default"
"/run/current-system/sw"
];
description = "A list of profiles used to setup the global environment.";
};
@ -119,6 +113,13 @@ in {
config = {
environment.profiles =
[ # Use user, default and system profiles.
"$HOME/.nix-profile"
"/nix/var/nix/profiles/default"
"/run/current-system/sw"
];
environment.pathsToLink =
[ "/bin"
"/lib"