Skip to content

Commit

Permalink
fix(darwin): add xquartz back, and small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliamHsieh committed Jan 6, 2025
1 parent 2d56799 commit a0aff91
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions system/darwin/default.nix
Original file line number Diff line number Diff line change
@@ -1,23 +1,20 @@
{ inputs, config, pkgs, dotfiles, ... }:
{ pkgs, dotfiles, ... }:
let
inherit (dotfiles.home) username;
in
{
environment.systemPackages =
[
pkgs.spotify
pkgs.discord
# pkgs.xquartz
];
environment.systemPackages = [
pkgs.xquartz
];

nixpkgs.hostPlatform = "aarch64-darwin";

networking.hostName = dotfiles.darwin.hostname;

services.karabiner-elements.enable = true;
# services.karabiner-elements.enable = true;

users.users."${username}" = {
description = username;
description = dotfiles.home.fullname;
home = "/Users/${username}";
shell = pkgs.zsh;
};
Expand All @@ -37,13 +34,18 @@ in
casks = [
"arc"
"google-chrome"

"google-drive"
"raycast"
"heptabase"
"logi-options+"
"hammerspoon"
"spotify"
"discord"
"todoist"

"vmware-fusion"
"utm"
"hammerspoon"
];
# only work if the app is already acquired by your apple id
masApps = {
Expand Down Expand Up @@ -73,6 +75,7 @@ in
"com.apple.keyboard.fnState" = true;
};
dock = {
tilesize = 56;
largesize = 100;
magnification = true;
mru-spaces = false;
Expand Down

0 comments on commit a0aff91

Please sign in to comment.