forked from extern/nix-config
Clean up remaining scripts
Done migrating all the post-install scripts. Haven't decided how I want to deal with the installation scripts yet. The code package is now a part of [community], so we don't have to compile it by hand anymore!
This commit is contained in:
parent
cfd7e5b25d
commit
b46a84d839
@ -16,6 +16,7 @@ noto-fonts-extra
|
|||||||
tmux
|
tmux
|
||||||
htop
|
htop
|
||||||
openssh
|
openssh
|
||||||
|
openvpn
|
||||||
|
|
||||||
vim
|
vim
|
||||||
neovim
|
neovim
|
||||||
@ -62,6 +63,7 @@ minted
|
|||||||
firefox
|
firefox
|
||||||
chromium
|
chromium
|
||||||
firejail
|
firejail
|
||||||
|
code
|
||||||
|
|
||||||
nodejs
|
nodejs
|
||||||
npm
|
npm
|
||||||
|
@ -1,13 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
#
|
|
||||||
# The DHCP client daemon (dhcpcd) is used for internet / LAN access.
|
|
||||||
# By enabling it as a service, we don't have to manually execute it
|
|
||||||
# every time at logon.
|
|
||||||
#
|
|
||||||
# Note that you should probably start it as well.
|
|
||||||
#
|
|
||||||
# https://wiki.archlinux.org/index.php/Dhcpcd
|
|
||||||
|
|
||||||
set -xe
|
|
||||||
|
|
||||||
systemctl enable dhcpcd.service
|
|
@ -1,9 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
#
|
|
||||||
# Set the timezone through systemd.
|
|
||||||
#
|
|
||||||
# https://wiki.archlinux.org/index.php/Time
|
|
||||||
|
|
||||||
set -xe
|
|
||||||
|
|
||||||
timedatectl set-timezone America/New_York
|
|
@ -1,9 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
#
|
|
||||||
# Sync the time periodically with a remote server.
|
|
||||||
#
|
|
||||||
# https://wiki.archlinux.org/index.php/Systemd-timesyncd
|
|
||||||
|
|
||||||
set -xe
|
|
||||||
|
|
||||||
timedatectl set-ntp true
|
|
@ -1,11 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
#
|
|
||||||
# This script adds support for connecting to a VPN with OpenVPN.
|
|
||||||
# Alternatively, you can also use it as a server and host your
|
|
||||||
# own VPN.
|
|
||||||
#
|
|
||||||
# https://wiki.archlinux.org/index.php/OpenVPN
|
|
||||||
|
|
||||||
set -xe
|
|
||||||
|
|
||||||
sudo pacman -S openvpn
|
|
@ -1,20 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
#
|
|
||||||
# Font settings are very important! These make your Arch Linux
|
|
||||||
# installation look a lot better than the defaults.
|
|
||||||
#
|
|
||||||
# https://wiki.archlinux.org/index.php/Font_Configuration
|
|
||||||
# https://old.reddit.com/r/archlinux/comments/5r5ep8
|
|
||||||
|
|
||||||
set -xe
|
|
||||||
|
|
||||||
FONTS="/etc/fonts"
|
|
||||||
|
|
||||||
# Disable embedded bitmaps for all fonts
|
|
||||||
ln -s $FONTS/conf.avail/70-no-bitmaps.conf $FONTS/conf.d
|
|
||||||
|
|
||||||
# Enable sub-pixel RGB rendering
|
|
||||||
ln -s $FONTS/conf.avail/10-sub-pixel-rgb.conf $FONTS/conf.d
|
|
||||||
|
|
||||||
# Enable the LCD filter (reduces color fringing)
|
|
||||||
ln -s $FONTS/conf.avail/11-lcdfilter-default.conf $FONTS/conf.d
|
|
23
sh/802-code
23
sh/802-code
@ -1,23 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
#
|
|
||||||
# Code is an open source build of Visual Studio Code. It has a GUI
|
|
||||||
# similar to Sublime Text but includes the extensibility of Atom.
|
|
||||||
#
|
|
||||||
# Unfortunately it is written in JavaScript, so it may be slow at
|
|
||||||
# times. However, it has nice plugin support, including a plugin
|
|
||||||
# to use many vim keybindings!
|
|
||||||
#
|
|
||||||
# This script assumes you've already installed `yay`. `prlimit` is
|
|
||||||
# used to increase the number of concurrent files opened since the
|
|
||||||
# build process takes a substantial amount of resources.
|
|
||||||
#
|
|
||||||
# Eventually `code` may or may not become a part of the community
|
|
||||||
# repository. More on that later.
|
|
||||||
#
|
|
||||||
# https://wiki.archlinux.org/index.php/Visual_Studio_Code
|
|
||||||
|
|
||||||
set -xe
|
|
||||||
|
|
||||||
sudo prlimit --pid $$ --nofile=10000:10000
|
|
||||||
|
|
||||||
yay -S code
|
|
Loading…
Reference in New Issue
Block a user