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 From c758310626204f21fcddda5334e79d645b2dca2e Mon Sep 17 00:00:00 2001 From: s Date: Fri, 21 Feb 2025 17:28:53 +0700 Subject: m --- hosts/mac/mac.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'hosts/mac/mac.nix') diff --git a/hosts/mac/mac.nix b/hosts/mac/mac.nix index 2e55b01..651e2e4 100644 --- a/hosts/mac/mac.nix +++ b/hosts/mac/mac.nix @@ -1,5 +1,11 @@ -{ self, pkgs, ... }: +{ pkgs, ... }: { +# custom +# y.kmonad.enable = true; + environment.systemPackages = with pkgs;[ + alacritty + #overlays.yabai + ]; fonts.packages = with pkgs; [ recursive pkgs.nerd-fonts.droid-sans-mono -- cgit v1.2.3