dotfiles/ubuntu/up.sh

21 lines
484 B
Bash
Raw Normal View History

#!/bin/bash
set -e
set -v
sudo apt update
sudo apt -y upgrade
2019-08-04 20:15:07 +01:00
sudo apt -y --fix-missing install apt-file aptitude git curl flatpak
2019-05-24 11:08:02 +01:00
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
2019-05-23 15:08:39 +01:00
2019-08-04 20:15:07 +01:00
curl https://nixos.org/nix/install | sh
2019-08-04 20:15:07 +01:00
. /home/cyryl/.nix-profile/etc/profile.d/nix.sh
export NIX_PATH=$HOME/.nix-defexpr/channels${NIX_PATH:+:}$NIX_PATH
2019-08-04 20:15:07 +01:00
ln -vfs $HOME/dev/dotfiles/nixos/home-other-os.nix $HOME/.config/nixpkgs/home.nix
2019-08-04 20:15:07 +01:00
home-manager switch