Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/blesswinsamuel/dotfiles
My .files
https://github.com/blesswinsamuel/dotfiles
Last synced: 6 days ago
JSON representation
My .files
- Host: GitHub
- URL: https://github.com/blesswinsamuel/dotfiles
- Owner: blesswinsamuel
- Created: 2018-06-08T16:14:39.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-08-13T09:08:31.000Z (3 months ago)
- Last Synced: 2024-08-14T04:28:57.772Z (3 months ago)
- Language: Shell
- Homepage:
- Size: 311 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# .files
## Install
```bash
# https://github.com/DeterminateSystems/nix-installer
# https://zero-to-nix.com/start/install
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install# Install homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"nix run nixpkgs#git clone https://github.com/blesswinsamuel/dotfiles
# printf 'run\tprivate/var/run\n' | sudo tee -a /etc/synthetic.conf
# /System/Library/Filesystems/apfs.fs/Contents/Resources/apfs.util -t# nix flake init -t nix-darwin
# mv /etc/zshenv /etc/zshenv.before-nix-darwin
# mv /etc/shells /etc/shells.before-nix-darwinnix run nixpkgs#go-task -- darwin-init # first run
nix run nixpkgs#go-task -- switch -- --verbosenix-channel --add https://nixos.org/channels/nixpkgs-unstable nixpkgs
nix-channel --update nixpkgsgit clone https://github.com/NvChad/NvChad ~/.config/nvim --depth 1
```## Brew commands
```bash
brew update
brew bundle --global
brew bundle --global cleanup
brew bundle --global cleanup --zap --force
brew bundle --global check --verbose
```### GPG key first time setup
```bash
gpg --full-generate-key # Use key size 4096
# Export key
gpg --armor --export | pbcopy
```### SSH key first time setup
```bash
ssh-keygen -t ed25519
```## Mackup
```bash
cat < ~/.config/rclone/rclone.conf
[b2]
type = b2
account =
key =
EOF
mackup backup # --dry-run
rclone sync ~/Mackup b2:blesswin-mackup # --dry-run
rclone ls b2:blesswin-mackuprclone sync b2:blesswin-mackup ~/Mackup # --dry-run
mackup restore # --dry-run
```## Mac manual steps
- Settings -> Keyboard -> Keyboard Shortcuts -> Modifier Keys -> Change Caps Lock to Escape
- Settings -> Keyboard -> Keyboard Shortcuts -> Spotlight -> Show Spotlight Search -> Change to Ctrl+Cmd+Option+space
- iTerm2
- Keys -> Hotkey -> Command+Esc
- Profiles -> Keys -> Presets -> Natural Text Editing## Resources
- https://xyno.space/post/nix-darwin-introduction
- https://devenv.sh/getting-started/
- https://sandstorm.de/de/blog/post/my-first-steps-with-nix-on-mac-osx-as-homebrew-replacement.html
- https://github.com/nix-community/impermanence
- https://github.com/schickling/dotfiles (https://www.youtube.com/watch?v=1dzgVkgQ5mE)
- https://github.com/badele/nix-homelab/tree/main
- https://nixos-and-flakes.thiscute.world/nixos-with-flakes/nixos-with-flakes-enabled
- https://github.com/ironicbadger/nix-config
- https://github.com/dustinlyons/nixos-config
- https://wickedchicken.github.io/post/macos-nix-setup/
- https://www.mathiaspolligkeit.com/dev-environment-setup-with-nix-on-macos/
- https://github.com/kubukoz/nix-config
- https://github.com/malob/nixpkgs
- https://github.com/ryan4yin/nix-config