default.nix 975 B

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