You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|**Linux** and using [NixOS]| The [NixOS module](#nixos) provided by this flake |
18
18
19
19
## Installing using the Determinate Nix Installer
20
20
@@ -62,8 +62,73 @@ Here's an example NixOS configuration for the current stable NixOS:
62
62
}
63
63
```
64
64
65
+
## nix-darwin
66
+
67
+
If you use [nix-darwin] to provide Nix-based configuration for your macOS system, you need to disable nix-darwin's built-in Nix configuration mechanisms by setting `nix.enable = false`; if not, Determinate Nix **does not work properly**.
68
+
Here's an example nix-darwin configuration that would be compatible with Determinate Nix:
# Let Determinate Nix handle Nix configuration rather than nix-darwin
85
+
nix.enable = false;
86
+
87
+
# Other nix-darwin settings
88
+
})
89
+
];
90
+
};
91
+
};
92
+
}
93
+
```
94
+
95
+
While Determinate Nix creates and manages the standard `nix.conf` file for you, you can set custom configuration in the `/etc/nix/nix.custom.conf` file, which is explained in more detail [in our documentation][configuring-determinate-nix].
96
+
If you'd like to set that custom configuration using nix-darwin, you can use this `determinate` flake for that.
97
+
Here's an example nix-darwin configuration that writes custom settings:
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4
+
5
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6
+
7
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
# We have included the LICENSE file for the nix-darwin project in this directory from the e04a388232d9a6ba56967ce5b53a8a6f713cdfcf revision of the project:
0 commit comments