From 5df48775f8f1afb14efadbdd04296226a0ae0019 Mon Sep 17 00:00:00 2001 From: Daniel Kempkens Date: Mon, 27 Dec 2021 21:24:27 +0100 Subject: [PATCH] Add basic README --- README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..2c715a8 --- /dev/null +++ b/README.md @@ -0,0 +1,22 @@ +## Installation + +```bash +# nix +sh <(curl -L https://nixos.org/nix/install) + +sudo echo 'experimental-features = nix-command flakes' >> /etc/nix/nix.conf +sudo echo 'keep-derivations = true' >> /etc/nix/nix.conf +sudo echo 'keep-outputs = true' >> /etc/nix/nix.conf + +# home-manager +nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager +nix-channel --update +nix-shell '' -A install + +# Configuration +cd ~/.config +git clone git@github.com:nifoc/dotfiles.git nixpkgs +home-manager switch --flake ~/.config/nixpkgs/#$USER + +sudo cachix use nix-community +```