Nixconfigs/modules/usermodules/darwinsettings.nix
2025-10-12 17:39:55 +02:00

22 lines
810 B
Nix

self:
{ pkgs, agenix, ... }: {
# List packages installed in system profile. To search by name, run:
# $ nix-env -qaP | grep wget
environment.systemPackages = [ pkgs.vim pkgs.vscode pkgs.git pkgs.nixfmt-rfc-style agenix.packages.aarch64-darwin.default pkgs.python3];
# Necessary for using flakes on this system.
nix.settings.experimental-features = "nix-command flakes";
nixpkgs.config.allowUnfree = 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;
# The platform the configuration will be used on.
nixpkgs.hostPlatform = "aarch64-darwin";
system.defaults.dock.autohide = true;
}