mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-08 01:14:01 +01:00
Add 05x scripts
This commit is contained in:
parent
1610ac144c
commit
7415ec3fa4
11
sh/051-dhcpcd
Normal file
11
sh/051-dhcpcd
Normal file
@ -0,0 +1,11 @@
|
||||
#!/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.
|
||||
#
|
||||
# https://wiki.archlinux.org/index.php/Dhcpcd
|
||||
|
||||
set -xe
|
||||
|
||||
systemctl enable dhcpcd.service
|
9
sh/052-timezone
Normal file
9
sh/052-timezone
Normal file
@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Set the timezone through systemd.
|
||||
#
|
||||
# https://wiki.archlinux.org/index.php/Time
|
||||
|
||||
set -xe
|
||||
|
||||
timedatectl set-timezone America/New_York
|
9
sh/053-ntp
Normal file
9
sh/053-ntp
Normal file
@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Sync the time periodically with a remote server.
|
||||
#
|
||||
# https://wiki.archlinux.org/index.php/Systemd-timesyncd
|
||||
|
||||
set -xe
|
||||
|
||||
timedatectl set-ntp true
|
20
sh/054-iwd
Normal file
20
sh/054-iwd
Normal file
@ -0,0 +1,20 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Use iwd if you want to connect over a wireless network.
|
||||
#
|
||||
# Once the service is started, you can control it with `iwctl`.
|
||||
#
|
||||
# List all available commands: help
|
||||
# List all wifi devices: device list
|
||||
# Scan for networks: device <interface> span
|
||||
# List networks: device <interface> get-networks
|
||||
# Connect to a WPA2 protected network:
|
||||
# device <interface> connect <network_name>
|
||||
#
|
||||
# https://wiki.archlinux.org/index.php/Iwd
|
||||
|
||||
set -xe
|
||||
|
||||
sudo pacman -S iwd
|
||||
|
||||
systemctl enable iwd.service
|
14
sh/055-vim
Normal file
14
sh/055-vim
Normal file
@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Vim is the standard text editor.
|
||||
#
|
||||
# https://wiki.archlinux.org/index.php/Vim
|
||||
|
||||
set -xe
|
||||
|
||||
pacman -S vim
|
||||
|
||||
pacman -S neovim
|
||||
|
||||
# Add the `undo` directory for regular vim
|
||||
mkdir -p ~/.vim/undo
|
Loading…
Reference in New Issue
Block a user