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 +```