update nix

This commit is contained in:
2025-10-27 22:45:08 +01:00
parent b8b7145e47
commit 489971d880
3 changed files with 3 additions and 3 deletions

View File

@@ -21,7 +21,7 @@ curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# Get repo # Get repo
git clone https://github.com/cupcakearmy/nix-macos ~/.config/nix-macos git clone https://github.com/cupcakearmy/nix-macos ~/.config/dotfiles
# Unlock (Given that the base64 key is in your clipboard) # Unlock (Given that the base64 key is in your clipboard)
nix shell nixpkgs#git nixpkgs#git-crypt nixpkgs#coreutils nix shell nixpkgs#git nixpkgs#git-crypt nixpkgs#coreutils
@@ -30,7 +30,7 @@ git-crypt unlock .key
# Installation # Installation
# Available hosts can be found in the ./hosts directory # Available hosts can be found in the ./hosts directory
sudo nix run nix-darwin -- switch --flake ~/.config/nix-macos#<host> sudo nix run nix-darwin -- switch --flake ~/.config/dotfiles#<host>
# After installation simply use the provided alias to rebuild # After installation simply use the provided alias to rebuild
vai vai

View File

@@ -40,7 +40,7 @@ let
n = "fnm use --install-if-missing"; n = "fnm use --install-if-missing";
c = "pwd | pbcopy"; c = "pwd | pbcopy";
vai = "sudo darwin-rebuild switch --flake ~/.config/nix-macos#${host.hostName}"; vai = "sudo darwin-rebuild switch --flake ~/.config/dotfiles#${host.hostName}";
clean = "nix-collect-garbage -d"; clean = "nix-collect-garbage -d";
}; };
}; };

BIN
secrets/git/config.1k5 Normal file

Binary file not shown.