initial macos setup

This commit is contained in:
Remy Moll
2025-12-02 10:12:05 +01:00
parent 5ab5be9644
commit 6ee9e50a01
17 changed files with 381 additions and 9 deletions

View File

@@ -0,0 +1,28 @@
{ config, lib, pkgs, ... }:
{
users.users.remy = {
home = "/Users/remy";
};
system.primaryUser = "remy";
environment.systemPackages = [ pkgs.git ]; # required because git is hardcoded into mac
nix.enable=false;
nixpkgs.config.allowUnfree = true;
# nixpkgs.config.allowUnsupportedSystem = true;
security.pam.services.sudo_local.touchIdAuth = true;
# Necessary for using flakes on this system.
nix.settings.experimental-features = "nix-command flakes";
# Enable alternative shell support in nix-darwin.
# programs.fish.enable = true;
# Set Git commit hash for darwin-version.
# system.configurationRevision = self.rev or self.dirtyRev or null;
# Used for backwards compatibility, please read the changelog before changing.
# $ darwin-rebuild changelog
system.stateVersion = 6;
nixpkgs.hostPlatform = "aarch64-darwin";
}