Skip to content

Instantly share code, notes, and snippets.

View fyrfli's full-sized avatar
🤓
Learning

Camille Frantz fyrfli

🤓
Learning
View GitHub Profile
@natescode
natescode / .gitconfig
Last active March 1, 2024 02:00
Git Aliases to make GIT easier to work with
[user]
email = your_email
name = your_username
[alias]
# view your global git config Aliases from CLI
aliases = config --get-regexp '^alias\\.'
# git clone
cl = !git clone
# Git shallow clone for large repos
clq= !git clone --depth=1
@Tknott95
Tknott95 / nix_single_user.MD
Last active June 7, 2023 08:02
cannot connect to socket at '/nix/var/nix/daemon-socket/socket': No such file or directory

FOR SINGLE USER INSTALL

cannot connect to socket at '/nix/var/nix/daemon-socket/socket': No such file or directory

remove nix - stop daemon - remove env vars trying to run multi-user style via daemon
if you are trying to remove a multi user install on linux and revert to a single user install 
you need to remove your NIX_REMOTE variable
or just set it to export NIX_REMOTE=

so this is blank and not calling the daemon - as you are installing without it for single user