Configuration files for my GNU/Linux installation.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
dotfiles/nix-darwin/configuration.nix

42 lines
1.0 KiB

{ pkgs, ... }:
{
# List packages installed in system profile. To search by name, run:
# $ nix-env -qaP | grep wget
environment.systemPackages = with pkgs; [
git
];
# Necessary for using flakes on this system.
nix.settings.experimental-features = "nix-command flakes";
# Auto upgrade nix package and the daemon service.
services.nix-daemon.enable = true;
# Enable zsh
programs.zsh.enable = true;
# Used for backwards compatibility, please read the changelog before changing.
# $ darwin-rebuild changelog
system.stateVersion = 6;
# Fix dumb MacOS features that no one asked for
system.defaults.NSGlobalDomain = {
ApplePressAndHoldEnabled = false;
};
# Allow unfree (and optionally broken) packages
nixpkgs.config = {
allowUnfree = true;
# If needed, you can also allow broken packages:
# allowBroken = true;
};
# The platform the configuration will be used on.
nixpkgs.hostPlatform = "aarch64-darwin";
users.users.elal = {
name = "elal";
home = "/Users/elal";
};
}