- generate new gpg key
gpg --full-generate-key
- show id for previous export, the id is after the '/'
gpg --list-secret-keys --keyid-format LONG
- export public key
gpg --armor --export REPLACE_WITH_EXTRACTED_ID
- display id short version for gitconfig
gpg --list-secret-keys --keyid-format SHORT
nix build ~/.config/darwin#darwinConfigurations.Pepos-MacBooks.system ./result/sw/bin/darwin-rebuild switch --flake ~/.config/darwin
leerme nix.dev for sure https://apple.stackexchange.com/questions/335400/how-switch-mac-uk-pc-keyboard-layout-backslash-and-backtick-to-match-normal todo, when flakes, bring node and split node packages
- nix flake update ./
- nix build ./#darwinConfigurations.Joseps-MBP.system
- ./result/sw/bin/darwin-rebuild switch --flake ./
- swish review window management
NOTES ALL keystrokes for lsp and config sudo scutil --set HostName lair
ulti-user Nix users on macOS can upgrade Nix by running: sudo -i sh -c 'nix-channel --update && nix-env -iA nixpkgs.nix && launchctl remove org.nixos.nix-daemon && launchctl load /Library/LaunchDaemons/org.nixos.nix-daemon.plist'
nix run 'github:NixOS/nixpkgs/23.05#darwin.builder'
if you have issues with port 22 already being allocated you can disable remote login in your machine with the following command:
sudo systemsetup -setremotelogin off
If you have started already the builder vm and you want to stop it just run
pkill qemu
.
FN
+a
for about 3 seconds untilcapslock
flashes and keyboard will swap tomac
mode.FN
+w
for about 3 seconds untilcapslock
flashes and keyboard will swap toWindows
mode.- If
capslock
does not flash after pressing any of the previous combinations mentioned above. Keyboard should be already in mentioned mode. FN
+ESC
for about 3 seconds untilcapslock
flashes and keyboard will be reset to defaults.- https://en.varmilo.com/keyboardproscenium/question
- Hold Fn down and press ESC about 4 seconds, if Capslocked backlight can flash 3 times, it means reset succeed. If FN and left WIN swapped,hold left WIN down, and press ESC about 4 seconds, capslocked backlight will flash 3 times.