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:
parent
ea179bf9bf
commit
a0f2ceb787
1 changed files with 7 additions and 6 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue