Set vi line editing and some additional nix options
This commit is contained in:
parent
b9ad9eac83
commit
f763dc381f
@ -1,3 +1,4 @@
|
||||
set -o vi
|
||||
export PROMPT='%F{green}[%T] %F{cyan}(%n@%m) %F{lightgrey}(%y) %F{cyan} %~
|
||||
%F{white}%(!.>>.$>) '
|
||||
|
||||
|
@ -6,7 +6,8 @@
|
||||
# SEE: https://github.com/NixOS/nix/issues/4119#issuecomment-1734738812
|
||||
settings.sandbox = "relaxed";
|
||||
extraOptions = ''
|
||||
experimental-features = nix-command flakes
|
||||
experimental-features = nix-command flakes repl-flake
|
||||
extra-platforms = x86_64-darwin aarch64-darwin x86_64-linux
|
||||
'';
|
||||
};
|
||||
|
||||
@ -53,6 +54,9 @@
|
||||
# programs.bash.enable = true; # default shell on catalina
|
||||
# programs.fish.enable = true;
|
||||
|
||||
system.defaults = {
|
||||
finder.AppleShowAllExtensions = true;
|
||||
};
|
||||
system.systemBuilderArgs = lib.mkIf (config.nix.settings.sandbox == "relaxed") {
|
||||
sandboxProfile = ''
|
||||
(allow file-read* file-write* process-exec mach-lookup (subpath "${builtins.storeDir}"))
|
||||
|
4
nix/darwin/flake.lock
generated
4
nix/darwin/flake.lock
generated
@ -38,11 +38,11 @@
|
||||
"locked": {
|
||||
"lastModified": 1,
|
||||
"narHash": "sha256-VDkul+Z32T3/AhU5fY7Wtaf7n6U3WOPFG63Z7lL2WjQ=",
|
||||
"path": "/nix/store/ljim4cw8ldrl6azj7kwmy2fa0vgnhgm6-source/nix/base-system",
|
||||
"path": "/nix/store/4dzkjjnaj1wf796hms09nnqfr3d7w1zf-source/nix/base-system",
|
||||
"type": "path"
|
||||
},
|
||||
"original": {
|
||||
"path": "/nix/store/ljim4cw8ldrl6azj7kwmy2fa0vgnhgm6-source/nix/base-system",
|
||||
"path": "/nix/store/4dzkjjnaj1wf796hms09nnqfr3d7w1zf-source/nix/base-system",
|
||||
"type": "path"
|
||||
}
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user