2022-12-27 10:10:53 -05:00
|
|
|
_: {
|
2022-08-28 20:13:46 -04:00
|
|
|
|
|
|
|
nix = {
|
|
|
|
configureBuildUsers = true;
|
|
|
|
|
|
|
|
extraOptions = ''
|
|
|
|
extra-platforms = x86_64-darwin aarch64-darwin
|
|
|
|
experimental-features = nix-command flakes
|
|
|
|
'';
|
|
|
|
|
2022-11-25 22:50:34 -05:00
|
|
|
gc = {
|
|
|
|
automatic = true;
|
|
|
|
};
|
2022-08-28 20:13:46 -04:00
|
|
|
settings = {
|
|
|
|
trusted-users = [ "root" "@admin" ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2022-11-08 23:18:44 -05:00
|
|
|
environment.etc = {
|
|
|
|
"sudoers.d/walkah".text = ''
|
|
|
|
walkah ALL = (ALL) NOPASSWD: ALL
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
|
2022-09-06 22:03:48 -04:00
|
|
|
homebrew = {
|
|
|
|
enable = true;
|
|
|
|
brewPrefix = "/opt/homebrew/bin";
|
|
|
|
global = {
|
|
|
|
brewfile = true;
|
|
|
|
lockfiles = false;
|
|
|
|
};
|
|
|
|
onActivation = {
|
|
|
|
autoUpdate = true;
|
|
|
|
cleanup = "zap";
|
|
|
|
upgrade = true;
|
|
|
|
};
|
|
|
|
};
|
2023-01-01 13:37:25 -05:00
|
|
|
|
|
|
|
nixpkgs.config.packageOverrides = pkgs: {
|
|
|
|
haskellPackages = pkgs.haskellPackages.override {
|
|
|
|
overrides = _self: super: {
|
|
|
|
niv = pkgs.haskell.lib.overrideCabal super.niv (_drv: {
|
|
|
|
enableSeparateBinOutput = false;
|
|
|
|
});
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2022-06-06 23:39:53 -04:00
|
|
|
}
|