From 7758e10d8fe1095ee77643f7248d94ed4235834b Mon Sep 17 00:00:00 2001 From: s Date: Fri, 21 Feb 2025 17:10:50 +0700 Subject: mac --- hosts/mac/mac.nix | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) (limited to 'hosts/mac/mac.nix') diff --git a/hosts/mac/mac.nix b/hosts/mac/mac.nix index dba3035..2e55b01 100644 --- a/hosts/mac/mac.nix +++ b/hosts/mac/mac.nix @@ -1,12 +1,23 @@ -{ pkgs, ... }: +{ self, pkgs, ... }: { - fonts.fontDir.enable = true; - fonts.fonts = with pkgs; [ + fonts.packages = with pkgs; [ recursive - (nerdfonts.override { fonts = [ "JetBrainsMono" ]; }) + pkgs.nerd-fonts.droid-sans-mono + # (pkgs.nerd-fonts.override { fonts = [ "JetBrainsMono" ]; }) ]; + #system.configurationRevision = self.rev or self.dirtyRev or null; system.keyboard = { enableKeyMapping = true; remapCapsLockToEscape = true; }; + #pkgs = import nixpkgs { + # overlays = builtins.attrValues self.overlays; + # system = "aarch64-darwin"; + #}; + nixpkgs.hostPlatform = "aarch64-darwin"; + system.stateVersion = 6; + ids.gids.nixbld = 30000; + #services.nix-daemon.enable = true; + + } -- cgit v1.2.3