Added nix darwin to repo

This commit is contained in:
Random936
2024-05-20 17:31:43 -07:00
parent ccde53af11
commit c68a81c262
9 changed files with 239 additions and 138 deletions

View File

@@ -0,0 +1,23 @@
{ config, pkgs, ... }:
{
nix.settings.experimental-features = ["nix-command" "flakes"];
nixpkgs.config.allowUnfree = true;
environment.systemPackages = with pkgs; [];
# Auto upgrade nix package and the daemon service.
services.nix-daemon.enable = true;
nix.package = pkgs.nix;
# Create /etc/zshrc that loads the nix-darwin environment.
programs.zsh.enable = true;
users.users.jadenmaxwell = {
name = "jadenmaxwell";
home = "/Users/jadenmaxwell";
};
# Used for backwards compatibility.
system.stateVersion = 4;
}