khssnv / configuration

My configuration files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Configuration

My configuration files.

Ubuntu setup

curl -L https://nixos.org/nix/install | sh
. /home/$USER/.nix-profile/etc/profile.d/nix.sh
nix-channel --add https://github.com/rycee/home-manager/archive/master.tar.gz home-manager
nix-channel --update
nix-shell '<home-manager>' -A install
rm /home/$USER/.config/nixpkgs/home.nix
mkdir ~/Workspace && cd ~/Workspace
git clone https://github.com/khssnv/configuration.git
cd configuration
ln -s ~/Workspace/configuration/home.nix ~/.config/nixpkgs/home.nix
home-manager switch
command -v zsh | sudo tee -a /etc/shells
sudo chsh -s "$(command -v zsh)" "${USER}"

NixOS setup

  1. Edit hardware.nix considering machine hardware-configuration.nix
  2. Replace /etc/nixos with symlink to local repo copy

About

My configuration files


Languages

Language:Nix 43.6%Language:Emacs Lisp 33.4%Language:Shell 13.0%Language:Vim Script 8.1%Language:Haskell 1.5%Language:Python 0.4%