Added nix darwin

This commit is contained in:
Aleksandr Lebedev 2024-12-30 22:06:16 +01:00
parent 13c0c39daf
commit b720bcb09a
3 changed files with 58 additions and 1 deletions

View file

@ -0,0 +1,25 @@
{ self, pkgs, ... }: {
# List packages installed in system profile. To search by name, run:
# $ nix-env -qaP | grep wget
environment.systemPackages = with pkgs;[
neovim
kitty
yazi
];
# 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 = 5;
# The platform the configuration will be used on.
nixpkgs.hostPlatform = "aarch64-darwin";
}