Compare commits
No commits in common. "3986842287f718b58f26b0f73ec8191e10d4474e" and "9891755ed99791a439ea0becea1c7af4937a1097" have entirely different histories.
3986842287
...
9891755ed9
@ -21,9 +21,6 @@
|
||||
# Auto upgrade nix package and the daemon service.
|
||||
services.nix-daemon.enable = true;
|
||||
nix.package = pkgs.nix;
|
||||
nix.extraOptions = ''
|
||||
experimental-features = nix-command flakes
|
||||
'';
|
||||
|
||||
nix.distributedBuilds = true;
|
||||
nix.buildMachines = [{
|
||||
@ -66,16 +63,14 @@
|
||||
};
|
||||
};
|
||||
|
||||
system.activationScripts.applications.text = pkgs.lib.mkForce (
|
||||
''
|
||||
rm -rf /Applications/Nix
|
||||
mkdir -p /Applications/Nix
|
||||
for app in $(find ${config.system.build.applications}/Applications -maxdepth 1 -type l); do
|
||||
src="$(/usr/bin/stat -f%Y "$app")"
|
||||
cp -r "$src" /Applications/Nix
|
||||
done
|
||||
''
|
||||
);
|
||||
system.activationScripts.applications.text = pkgs.lib.mkForce (''
|
||||
rm -rf /Applications/Nix
|
||||
mkdir -p /Applications/Nix
|
||||
for app in $(find ${config.system.build.applications}/Applications -maxdepth 1 -type l); do
|
||||
src="$(/usr/bin/stat -f%Y "$app")"
|
||||
cp -r "$src" /Applications/Nix
|
||||
done
|
||||
'');
|
||||
|
||||
# Used for backwards compatibility, please read the changelog before changing.
|
||||
# $ darwin-rebuild changelog
|
||||
|
9
home.nix
9
home.nix
@ -16,7 +16,6 @@
|
||||
|
||||
home.packages = with pkgs; [
|
||||
direnv
|
||||
exa
|
||||
fd
|
||||
git
|
||||
gitAndTools.gh
|
||||
@ -71,10 +70,10 @@
|
||||
EDITOR = "vim";
|
||||
GOPATH = "$HOME/.go";
|
||||
};
|
||||
shellAliases = {
|
||||
ls = "exa --git";
|
||||
ll = "exa -lh --git";
|
||||
};
|
||||
};
|
||||
dircolors = {
|
||||
enable = true;
|
||||
enableZshIntegration = true;
|
||||
};
|
||||
starship = {
|
||||
enable = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user