diff options
| author | Joe Mou <dev@mou.fo> | 2026-04-13 20:47:25 -0400 |
|---|---|---|
| committer | Joe Mou <dev@mou.fo> | 2026-04-15 00:02:13 -0400 |
| commit | 1c9249426a274884f8104e26ca63e4b3b3578687 (patch) | |
| tree | 4a0e70104f7af1b23d4ef7586bba987f233684a9 /hostnix/mojo/modules/system.nix | |
| parent | 8e814b1baffbcec81c177d098337804a01a354a8 (diff) | |
mojo: Refactor
Diffstat (limited to 'hostnix/mojo/modules/system.nix')
| -rw-r--r-- | hostnix/mojo/modules/system.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/hostnix/mojo/modules/system.nix b/hostnix/mojo/modules/system.nix new file mode 100644 index 0000000..362a01b --- /dev/null +++ b/hostnix/mojo/modules/system.nix @@ -0,0 +1,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; +} |
