Skip to content

ca4mi/nix-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Git with ssh

copy ssh keys

mkdir -p ~/.ssh
# copy private key to .ssh and perm
chmod 700 ~/.ssh
chmod 600 ~/.ssh/*
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/<key_name>
# Identity added: ...
# add <key_name>.pub key to github and check to connection
ssh -T [email protected]

Enable flakes

mkdir -p ~/.config/nix
echo "experimental-features = nix-command flakes" >> ~/.config/nix/nix.conf
# add git configs
nix-env -f '<nixpkgs>' -iA git
nix-env -f '<nixpkgs>' -iA vim
git config --global user.email "[email protected]"
git config --global user.name "Your Name"

nix-configs

git clone [email protected]:ca4mi/nix-config.git

About

config of NixOS

Resources

Stars

Watchers

Forks

Contributors

Languages