default.nix 995 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. { outputs, ... }:
  2. {
  3. imports = [
  4. outputs.modules.global.nix-config
  5. ./aerospace.nix
  6. ./colima.nix
  7. ./system.nix
  8. ./software.nix
  9. ] ++ (builtins.attrValues outputs.modules.darwin);
  10. # NOTE: this seems to be needed to make nix work in fish
  11. programs.fish = {
  12. enable = true;
  13. vendor = {
  14. completions.enable = true;
  15. config.enable = true;
  16. functions.enable = true;
  17. };
  18. };
  19. # TODO: move into module:
  20. # system.activationScripts.extraActivation.text = lib.mkAfter ''
  21. # # disable spotlight
  22. # echo "disable spotlight..." >&2
  23. # mdutil -i off /
  24. # '';
  25. # TODO:
  26. # - Proton Mail Bridge
  27. # - Proton Drive set up home folders
  28. programs = {
  29. nix-index.enable = true;
  30. gnupg.agent.enable = true;
  31. };
  32. services.nix-daemon.enable = true;
  33. users.users.thomas.home = "/Users/thomas";
  34. networking = {
  35. hostName = "meili";
  36. remote-login = true;
  37. };
  38. time.timeZone = "America/Los_Angeles";
  39. system.stateVersion = 4;
  40. }