1
0
forked from extern/nix-config
Commit Graph

27 Commits

Author SHA1 Message Date
Donovan Glover
dc261e58ad
archlinux: Lock the root account
No need to log in to the root account since we already configured
a user with sudo rights.
2018-12-03 21:45:47 -05:00
Donovan Glover
8d41afb5f7
archlinux: Swap user@host placeholder positions
It's actually more intuitive for the user to "fill in the blank" than
it is for the user to see future steps as blank lines.
2018-12-03 20:59:45 -05:00
Donovan Glover
6cfcc4cca9
archlinux: Use sudoers.d instead of editing sudoers directly
Note that file names containing '.' or '~' are skipped.
2018-12-03 20:27:47 -05:00
Donovan Glover
b55f9b7fce
archlinux: Add fr_FR and ja_JP locales
Because sometimes you want to use a non-English language.
2018-12-03 20:18:49 -05:00
Donovan Glover
f342218993
archlinux: Properly state how locales are created and used
It turns out that locale.gen is used to generate the locales that
can be set with locale.conf.
2018-12-03 19:47:38 -05:00
Donovan Glover
17ee1c287b
archlinux: Always uncomment lines in locale.gen
It turns out that replacing the contents of locale.gen with the locales
you want is not a good idea, since then it is impossible to reference
the file at a later date to make changes as needed.
2018-12-03 19:05:26 -05:00
Donovan Glover
a114435391
archlinux: Fix HiDPI font for virtual console
It turns out the font that I was setting before didn't actually do
anything. This is the real way to double the font size in your virtual
console, particularly useful for HiDPI displays, since your tty does not
know about your X DPI.
2018-12-03 12:13:11 -05:00
Donovan Glover
1fea6d782d
archlinux: Swap username and hostname inputs
Since the username appears before the hostname (user@host), and since
anyone using these install scripts will probably want to log in with the
local user account and not the root account, this change makes sense.
2018-12-03 11:32:55 -05:00
Donovan Glover
fdd5e27de8
archlinux: Create systemd output directories as needed
Symlinking the service files manually works, but it is not guaranteed
that these directories will already be created after the pacstrap step.
2018-12-03 11:12:13 -05:00
Donovan Glover
83c1c72655
archlinux: Remove unnecessary mkinitcpio call
Since mkinitcpio is already ran on the installation of the linux
package with pacstrap, and since we don't change any config settings,
recreating the initramfs is not necessary.
2018-12-03 11:08:21 -05:00
Donovan Glover
be6a7a8316
archlinux: Remove virtual console keymap settings
It turns out that this doesn't actually do anything since the default
keymap is already "us".
2018-12-03 10:55:09 -05:00
Donovan Glover
29c7965ace
archlinux: Use GiB by default during installation
Since we already specify that the size is "(in GiB)", the user should
not be expected to repeat this information in the input.
2018-12-03 10:44:37 -05:00
Donovan Glover
54d2824113
archlinux: Finalize install.sh
This should work, although I haven't tested it yet.

In the future it may be easier to simply download the other install
scripts from this install script. That way we solve the problem of
having to unzip this entire repository in the installation image.
2018-12-02 18:48:19 -05:00
Donovan Glover
1d67bf6d74
meta: Make Arch installation passwd interactive
Instead of trying to automatically set the password to something easy to
remember, it is probably better to simply ask for the password upfront.
2018-12-02 18:44:26 -05:00
Donovan Glover
4923b4bdca
archlinux: Update install script descriptions 2018-12-02 18:32:25 -05:00
Donovan Glover
0c8cfe8cc2
archlinux: Ask for confirmation before installation
This should ensure that a user knows what they're doing before running
the install scripts. Note that parted will also ask for a confirmation
before overwriting existing data.
2018-12-02 17:43:29 -05:00
Donovan Glover
9bdcba18c8
archlinux: Ask for size of primary partition 2018-12-02 17:15:11 -05:00
Donovan Glover
14dbf3d51f
archlinux: Fix path for config files
Since I am trying to get 004-postinstall to work in the installation
media, the config paths need /mnt added to them.
2018-12-02 10:51:31 -05:00
Donovan Glover
6faca9353f
archlinux: Enable systemd services before first boot
This should work, although I haven't tested it yet.
2018-12-02 10:47:47 -05:00
Donovan Glover
4b97b8df9d
archlinux: Handle reads through new install.sh
This not only fixes the issue where set -x would cause the read
line to be altered, but also separates user input from what the
install scripts actually do.
2018-12-02 01:12:09 -05:00
Donovan Glover
e75dd9cc77
archlinux: Remove shortened timeouts from system.conf
I added shortened systemd timeouts when I didn't know how to use
journalctl. But now that I know enough to fix things that might
stall these commands, this is no longer necessary.
2018-12-01 21:24:41 -05:00
Donovan Glover
5e3b57d42f
archlinux: Remove redundant timedatectl command
Since all systemd's timedatectl does is create the same symlink we
made in the installation media, duplicating it here isn't necessary.
2018-12-01 21:07:55 -05:00
Donovan Glover
568d3e613a
docs: Add READMEs for PKGBUILDs and install scripts 2018-12-01 14:30:18 -05:00
Donovan Glover
282288ab24
archlinux: Add executable bit to install scripts
Now the install scripts are immediately accessible without the need
to run chmod in the installation media.
2018-12-01 12:50:03 -05:00
Donovan Glover
616048bd3f
archlinux: Add VerbosePkgLists to pacman.conf
Here I commit the addition of VerbosePkgLists for reference. It turns
out that yay's package upgrade list looks significantly better than
pacman's VerbosePkgLists (and is a lot more legible).

Since pacman will not use VerbosePkgLists when the number of terminal
columns is low enough, it makes sense to simply use the default setting
instead.
2018-11-19 19:14:37 -05:00
Donovan Glover
200d2b9e7a
archlinux: Update install scripts
Instead of running two systemctl commands (start and enable),
one can simply use `systemctl enable --now` instead.

The grub command was removed since I never used it and haven't
found a need to do so.
2018-11-15 21:18:51 -05:00
Donovan Glover
5ade063b89
archlinux: Move install scripts to separate directory 2018-11-13 12:30:23 -05:00