Files
nixos/modules/darwin/default.nix
T

73 lines
1.6 KiB
Nix
Raw Normal View History

2025-05-09 12:54:21 -05:00
{ config, pkgs, ... }:
2024-02-09 14:33:51 -06:00
{
2024-10-19 01:19:59 -05:00
imports = [ ../baseline.nix ];
2025-05-09 11:18:52 -05:00
home-manager = {
useGlobalPkgs = true;
users."${config.system.primaryUser}" = import ../../home/home.nix;
extraSpecialArgs = {
inherit (config.users.users."${config.system.primaryUser}") home;
gnome = false;
gui = false;
2024-02-09 14:33:51 -06:00
};
};
2025-05-09 11:18:52 -05:00
2025-05-09 12:54:21 -05:00
fonts.packages = with pkgs; [
dejavu_fonts
nerd-fonts.hack
2025-05-09 12:54:21 -05:00
];
nix = {
enable = true;
gc.interval.Hour = 3;
settings.auto-optimise-store = false; # Darwin bugs?
};
2025-05-09 11:18:52 -05:00
2025-05-09 12:54:21 -05:00
power.sleep = {
allowSleepByPowerButton = true;
computer = "never";
display = 30;
};
2025-05-09 11:18:52 -05:00
programs = {
zsh.enable = true;
bash.enable = true;
};
2025-05-09 12:54:21 -05:00
system = {
defaults = {
CustomSystemPreferences = {
".GlobalPreferences" = {
"com.apple.swipescrolldirection" = 0;
};
};
2025-05-09 12:54:21 -05:00
finder = {
AppleShowAllExtensions = true;
AppleShowAllFiles = true;
ShowExternalHardDrivesOnDesktop = true;
ShowMountedServersOnDesktop = true;
ShowPathbar = true;
ShowRemovableMediaOnDesktop = true;
ShowStatusBar = true;
};
LaunchServices.LSQuarantine = false;
menuExtraClock = {
Show24Hour = true;
ShowDate = 2;
2025-05-09 12:54:21 -05:00
};
screencapture = {
include-date = true;
location = "${config.home-manager.extraSpecialArgs.home}/Photos/Screeneries";
};
trackpad = {
Dragging = false;
TrackpadRightClick = true;
};
};
startup.chime = false;
stateVersion = 6;
};
time.timeZone = "America/Chicago";
}