my-scripts/installers/nixos/install.sh

59 lines
1.6 KiB
Bash
Raw Normal View History

2022-12-10 04:18:23 +00:00
#!/bin/sh
mkdir ~/docs/
mkdir ~/dl/
mkdir ~/media/
mkdir -p ~/.local/share/gnupg/
mkdir -p ~/.config/mpd/playlists
mkdir -p ~/.local/share/desktop
#setup .zprofile and zsh history file
cd ~ || return
ln -s ~/.profile ~/.zprofile
mkdir -p ~/.cache/zsh
touch ~/.cache/zsh/history
2022-12-10 05:57:27 +00:00
<<<<<<< HEAD
2022-12-10 04:18:23 +00:00
sh ~/.local/scripts/install.sh add-repos ~/.local/installers/nixos/repos.list
#link rofi themes directory so that theming works
mkdir -p "$HOME"/.local/share/rofi/
ln -s "$HOME"/.local/src/base16-rofi/themes/ "$HOME"/.local/share/rofi/themes
2022-12-10 05:57:27 +00:00
=======
#sh ~/.local/scripts/install.sh add-repos ~/.local/installers/nixos/repos.list
#link rofi themes directory so that theming works
#mkdir -p "$HOME"/.local/share/rofi/
#ln -s "$HOME"/.local/src/base16-rofi/themes/ "$HOME"/.local/share/rofi/themes
>>>>>>> tmp
2022-12-10 04:18:23 +00:00
#set limits for esync
#sudo sh -c "echo '$USER hard nofile 524288' >> /etc/security/limits.conf"
#set limits for monero
#sudo sh -c "echo '$USER hard memlock 2048' >> /etc/security/limits.conf"
#sudo sh -c "echo '$USER hard memlock 2048' >> /etc/security/limits.conf"
#fix issue with arduino ide and tiling wms
#sudo sh -c 'echo "export _JAVA_AWT_WM_NONREPARENTING=1" >> /etc/profile.d/jre.sh'
#download collapse OS
mkdir -p "$HOME"/.local/src/
cd "$HOME"/.local/src/
wget http://collapseos.org/files/collapseos-latest.tar.gz
cd -
#set wallpaper
2022-12-10 05:57:27 +00:00
<<<<<<< HEAD
2022-12-10 04:18:23 +00:00
ln -s ~/media/img/wallpapers/alena-aenami-eclipse-1k.jpg ~/.config/wall
2022-12-10 05:57:27 +00:00
=======
#ln -s ~/media/img/wallpapers/alena-aenami-eclipse-1k.jpg ~/.config/wall
>>>>>>> tmp
2022-12-10 04:18:23 +00:00
#link Xresources for xwayland
ln -s ~/.config/Xresources ~/.Xdefaults