From 5d4d5353e532c160326c8bc9ba6f9009cebdc632 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Sun, 31 Jul 2022 09:34:40 +0100 Subject: [PATCH] guix docs --- README.md | 39 --------------------------------------- guix/README.md | 13 +++++++++++++ 2 files changed, 13 insertions(+), 39 deletions(-) diff --git a/README.md b/README.md index 478b1969..15f6f63d 100644 --- a/README.md +++ b/README.md @@ -199,42 +199,3 @@ specialArgs = { inherit inputs; }; }; ``` -## Ubuntu -``` -sudo apt install git vim curl -curl -L https://nixos.org/nix/install | sh -``` - -make sure - -``` -if [ -e /home/cyryl/.nix-profile/etc/profile.d/nix.sh ]; then . /home/cyryl/.nix-profile/etc/profile.d/nix.sh; fi # added by Nix installer -export NIX_PATH=$HOME/.nix-defexpr/channels${NIX_PATH:+:}$NIX_PATH -``` is in `~/.profile` - - -``` -reboot -``` - -``` -nix-shell '' -A install -``` - -``` -mkdir dev -cd dev -git clone https://git.sr.ht/~cyplo/dotfiles -cd dotfiles -``` - - -``` -ln -vfs /home/cyryl/dev/dotfiles/nixos/home-other-os.nix /home/cyryl/.config/nixpkgs/home.nix -home-manager switch -``` - - -## guix - -I'm just starting to play with guix, these are just loose notes: diff --git a/guix/README.md b/guix/README.md index c1fe583a..f74858c2 100644 --- a/guix/README.md +++ b/guix/README.md @@ -1 +1,14 @@ +## new machine +``` + +guix pull +hash guix +guix shell git +git clone https://git.sr.ht/~cyplo/dotfiles + guix pull --channels=/home/cyryl/dev/dotfiles/guix/channels.scm +guix system reconfigure /etc/config.scm +# merge /etc/config.scm into /home/cyryl/dev/dotfiles/guix/vm/config.scm +guix system reconfigure /home/cyryl/dev/dotfiles/guix/vm/config.scm +guix home reconfigure /home/cyryl/dev/dotfiles/guix/home-configuration.scm +```