summaryrefslogtreecommitdiff
path: root/hostnix/mojo/modules/system.nix
blob: 362a01ba8022aed0065e59690570a9947568cadb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
  pkgs,
  pkgsUnstable,
  self,
  ...
}:
{
  nixpkgs.config.allowUnfree = true;

  homebrew = {
    enable = true;
    # Enable after nix-darwin 25.11
    # enableBashIntegration = true;
    caskArgs.require_sha = true;
    onActivation.cleanup = "uninstall";
  };

  system.primaryUser = "joe";

  # $ chsh -s /run/current-system/sw/bin/bash
  environment.shells = [ pkgs.bashInteractive ];
  programs.bash.completion.enable = true;
}