mirror of
https://github.com/smg1024/nix-darwin.git
synced 2026-05-22 20:32:59 +09:00
Initial commit
This commit is contained in:
commit
6c503c465b
9 changed files with 493 additions and 0 deletions
20
modules/nix-core.nix
Normal file
20
modules/nix-core.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
nix.settings = {
|
||||
# enable flakes globally
|
||||
experimental-features = ["nix-command" "flakes"];
|
||||
};
|
||||
|
||||
# Allow unfree packages
|
||||
nixpkgs.config = {
|
||||
allowUnfree = true;
|
||||
allowBroken = true;
|
||||
};
|
||||
|
||||
# Auto upgrade nix package and the daemon service.
|
||||
nix.package = pkgs.nix;
|
||||
|
||||
# Enable Determinate
|
||||
nix.enable = false;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue