fixed flatimer
auto installed nfs
This commit is contained in:
parent
d0bbadf1b0
commit
d488aced4f
1 changed files with 6 additions and 3 deletions
9
init.sh
9
init.sh
|
@ -1,6 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
set -euo pipefail
|
||||||
#install pre-req.
|
#install pre-req.
|
||||||
echo -n "Which Linux flavor will we be installing programs for? (u/o/a)"; read -r answer
|
echo -n "Which Linux flavor will we be installing programs for? (u/o/a/f/d)"; read -r answer
|
||||||
case $answer in
|
case $answer in
|
||||||
u)
|
u)
|
||||||
bash udeps.sh
|
bash udeps.sh
|
||||||
|
@ -81,13 +82,14 @@ bash spacevim.sh
|
||||||
fonts () {
|
fonts () {
|
||||||
echo "installing fonts"
|
echo "installing fonts"
|
||||||
mkdir ~/.fonts
|
mkdir ~/.fonts
|
||||||
wget -q https://github.com/ryanoasis/nerd-fonts/releases/download/v3.1.1/SourceCodePro.tar.xz -O - | tar -xJf - -C ~/.fonts
|
wget -q https://github.com/ryanoasis/nerd-fonts/releases/download/v3.2.1/SourceCodePro.tar.xz -O - | tar -xJf - -C ~/.fonts
|
||||||
|
wget -q https://github.com/ryanoasis/nerd-fonts/releases/download/v3.2.1/UbuntuMono.tar.xz -O - | tar -xJf - -C ~/.fonts
|
||||||
}
|
}
|
||||||
|
|
||||||
flat_timer () {
|
flat_timer () {
|
||||||
#this copies and activates a systemd service to enable automatic flatpak updates
|
#this copies and activates a systemd service to enable automatic flatpak updates
|
||||||
mkdir -pv $HOME/.config/systemd/user/
|
mkdir -pv $HOME/.config/systemd/user/
|
||||||
ln -s ./scripts/systemd/flatpak* $HOME/.config/systemd/user/
|
cp ./scripts/systemd/flatpak* $HOME/.config/systemd/user/
|
||||||
systemctl --user enable --now flatpak-update.timer
|
systemctl --user enable --now flatpak-update.timer
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -101,6 +103,7 @@ fi
|
||||||
#script to link to stevserver over LAN. Note: the username in the filename and file have to match yours.
|
#script to link to stevserver over LAN. Note: the username in the filename and file have to match yours.
|
||||||
echo -n "Will you need to connect to stev-server?"; read -r answer
|
echo -n "Will you need to connect to stev-server?"; read -r answer
|
||||||
if [[ $answer == [Yy] ]]; then
|
if [[ $answer == [Yy] ]]; then
|
||||||
|
sudo apt install nfs-common
|
||||||
sudo cp scripts/systemd/home-stev-server.mount /etc/systemd/system
|
sudo cp scripts/systemd/home-stev-server.mount /etc/systemd/system
|
||||||
sudo systemctl daemon-reload
|
sudo systemctl daemon-reload
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue