1
0
forked from extern/nix-config
Commit Graph

111 Commits

Author SHA1 Message Date
Donovan Glover
53f3ef09f4
PKGBUILDs: Merge tari-dev with tari-core
Not all of these packages may be useful to everyone, and that's fine.
Any list I create won't satisfy everyone, but reducing the number of
PKGBUILDs makes it easier to see and change all the packages installed
on the system as a whole.

Due to the nature of how Arch Linux works, most users won't even need my
PKGBUILDs. With the exception of setting up X with a bare-minimum window
manager, installing and configuring most software is as simple as using
pacman to install that software and symlinking any config files you want
to their relevant directories, if any.
2018-12-07 18:06:19 -05:00
Donovan Glover
57177600c6
meta: Remove fish completions for httpie
There is an open bug that should be resolved before or during the
Arch Linux Bug Day coming up next month (January 2019). Either way,
manually updating the httpie version becomes impractical after some
time; it's best to apply this fix upstream instead.
2018-12-07 17:38:44 -05:00
Donovan Glover
e627c60540
meta: Don't install vim plug globally
Since my .vimrc already installs the same version of vim plug,
and since any user can symlink my dotfiles, using a PKGBUILD to
install it is redundant and arguably less portable.
2018-12-07 17:29:48 -05:00
Donovan Glover
5fa02b42be
PKGBUILDs: Merge tari-bspwm with tari-desktop
As ironic as this may sound, less user choice means that there's less
room for error. Plus, it makes things conveniently easier for me and
possibly every other user of the software.
2018-12-07 16:53:45 -05:00
Donovan Glover
ba704bab08
PKGBUILDs: Merge tari-cli with tari-core
Realistically, if I'm installing the tari packages, I more often than
not want everything with it. If I am aiming for a minimalist setup
without X11 or Wayland, I will probably not use the tari packages
anyway.
2018-12-07 16:15:54 -05:00
Donovan Glover
3d9a699812
archlinux: Add make yarnconfig target
Since ~/.yarnrc is an autogenerated file, we configure it through
the Makefile instead.
2018-12-07 15:59:51 -05:00
Donovan Glover
9ddd20f348
archlinux: Add make fontconfig target
fontconfig is used to maximize the visual appearance of fonts.
2018-12-07 15:34:24 -05:00
Donovan Glover
15047e15e6
archlinux: Add make aur target
This is a very simple AUR helper.

Usage: make aur package=<package>
2018-12-07 03:25:34 -05:00
Donovan Glover
1a0304003f
docs: Simplify process of using install scripts
Now that install.sh downloads the other scripts if they are not present,
fetching this entire repository is no longer necessary.
2018-12-06 18:32:07 -05:00
Donovan Glover
0be668443e
archlinux: Clone this repository to the user's $HOME
This makes it easier to immediately start using dotfiles and other
config settings on first boot. It may even be useful to add an option
to run the entire bootstrap script in the installation media. Note that
if this route is taken, some assumptions regarding installation will
have to be changed to adjust for the chroot environment.
2018-12-06 18:27:33 -05:00
Donovan Glover
f320b0c294
archlinux: Add single install script support
This commit makes it so that downloading the entire repository to run
the install scripts is no longer necessary.

It assumes that you have an active internet connection, which should be
a given since you need an internet connection to run pacstrap anyway.
2018-12-06 17:39:59 -05:00
Donovan Glover
7732bc7c52
docs: Update install-scripts README
In the near future the install scripts should be usable with
a single and simple command.
2018-12-04 15:15:47 -05:00
Donovan Glover
082ff6bb12
meta: Refactor install scripts
Lots of changes here with the goal of streamlining the installation
process. The install scripts work very well now, although there are
still some final changes that I would like to make (notably the removal
of the unzip requirement and the inclusion of more options to automate
the process even further).
2018-12-04 03:01:14 -05:00
Donovan Glover
8c97022151
archlinux: Add rng-tools to initial package list
Note that Arch Linux packages a newer version of rng-tools that is
currently maintained and built upon the original upstream.
2018-12-04 01:56:31 -05:00
Donovan Glover
818d8a7df3
archlinux: Add polkit to initial package list
The polkit package is used to let unprivileged users run certain
commands. With it, it is possible to run system commands such as
`poweroff` and `reboot` with an unprivileged user.

Traditionally, only privileged users have access to power management,
but for many desktop setups, you may want to let unprivileged users
perform operations such as shutdown the machine if no other users
are logged in.
2018-12-04 01:48:01 -05:00
Donovan Glover
da138458b7
docs: Add README for xeventbind
It turns out that the README for the xeventbind PKGBUILD actually works
very well here. On another note, I've yet to figure out how exactly I
want to document PKGBUILDs.
2018-12-04 00:25:40 -05:00
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
69e2a52bf2
tari-web: Remove unnecessary dependencies
Since fonts and other desktop-related packages are now handled by
tari-desktop, this is no longer necessary. Note that I also created
tari-web before I figured out HiDPI support for Qt and GTK applications.
2018-12-02 16:18:12 -05:00
Donovan Glover
83598a092c
meta: Remove tari-util
I initially created tari-util as a package to be pre-built and installed
in the installation media. This was a while ago, and now that I know
exactly how the installation process and PKGBUILDs work, all the
previous issues I had with makepkg turned out to not be issues at all.
2018-12-02 15:48:11 -05:00
Donovan Glover
2935a4f007
PKGBUILDs: Clean up spacing
One dependency per line seems to be the way to go here.
2018-12-02 15:31:21 -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
622a01a711
meta: Remove rofi-pass
As much as rofi-pass may appear to be useful, it is simply easier to
just use the pass command directly, especially if you have a passphrase
set on the private encryption key you use to unlock passwords.
2018-12-01 19:50:12 -05:00
Donovan Glover
9f27d4e13a
meta: Remove launch dependency
Now that I know how to use terminal multiplexers, and now that I
understand more about how shells and terminals work, the launch
dependency is no longer necessary.

Additionally, *too many* abbreviations is difficult to use in the long
term, no matter how short the commands are. Since I don't need to launch
programs from the terminal as often anymore (now that I use rofi and
other programs), this change makes sense.
2018-12-01 18:18:44 -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
62f4b07b24
PKGBUILDs: Update tari-cli and tari-desktop 2018-11-30 17:38:53 -05:00
Donovan Glover
ede159908c
misc: Small fixes
Some minor things I noticed that don't warrant their own commits.
2018-11-28 23:04:00 -05:00
Donovan Glover
440324f99c
archlinux: Update README
As a side note, running a bootstrap.sh in a post-install environment is
significantly easier (and more practical) than trying to accomplish
every step before a reboot in the installation image. This separates
things like making partitions from the actual system.
2018-11-28 22:55:41 -05:00
Donovan Glover
72b2df5864
PKGBUILDs: Add tari-plasma and tari-gnome
Note that most (if not all) of these programs can run inside any
environment with the same expected behavior, not just Plasma and GNOME,
provided the proper environment variables and config values are set.
2018-11-28 22:00:14 -05:00
Donovan Glover
74b6975ba5
PKGBUILDs: Add tari-util-xeventbind
xeventbind is a useful program that lets you run any command on
resolution change, similar to how GNOME on Wayland is able to change
scaling on on resolution change, but not exactly.

Since we're still using X, existing programs are not affected; they
have to be restarted instead.
2018-11-28 20:45:39 -05:00
Donovan Glover
e1181665dd
archlinux: Add Makefile 2018-11-27 18:47:05 -05:00
Donovan Glover
0a5d8f0d75
PKGBUILDs: Add tari-desktop, tari-cli, and tari-bspwm
Now that I understand more about how GNU/Linux distributions, display
managers, and X sessions work, it makes sense to separate meta packages
based on environment used.

When you use a display manager, you're just starting X in a fancy way.
Since you can run any program you want on the X server, it is easy to
install multiple desktop environments on the same machine and switch
between them easily, provided your setup is adequately modular (which
it should be by default).
2018-11-25 13:29:37 -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
4387ab119c
PKGBUILDs: Remove tari-urxvt
It turns out that kitty has support to change all of its colors
independently from the current terminal with a simple command. This
was the only issue I had with making pywal and kitty work together,
so I'm glad I found it.

Additionally, kitty supports DPI changes immediately (at least with
xrdb). There is no need to detach a session and open a new terminal
since kitty will handle DPI changes automatically, compared to other
terminals like urxvt, which would require a new instance. Even then,
the border padding for urxvt is not adjusted to the new DPI; kitty
is simply the way to go if your monitor setup is non-trivial.

As a side note, the kitty documentation is very good. I highly
recommend reading it if you plan to use kitty (which you should).
2018-11-15 17:38:27 -05:00
Donovan Glover
ad3a3fedd3
tari-dev: Add fish completions for httpie
Since the community package doesn't include the fish completions found
upstream, we install them here instead. There is already a bug report
about the fish completions, and when it eventually gets fixed, these
steps can be removed from the PKGBUILD.

Bug report: https://bugs.archlinux.org/task/55786
2018-11-14 14:23:07 -05:00
Donovan Glover
5ade063b89
archlinux: Move install scripts to separate directory 2018-11-13 12:30:23 -05:00
Donovan Glover
c968246923
Move PKGBUILDs to .archlinux
Since fedpkg can access parent directories, having a top-level PKGBUILDs
directory is no longer necessary.
2018-11-13 12:22:24 -05:00
Donovan Glover
f3d129362e
misc: Update docs
Made dependency lists a bit more consistent and reverted some of the
Arch Linux wording since it felt a bit off. Even the official website
refers to Arch Linux as Arch from time to time.
2018-10-31 13:03:41 -04:00
Donovan Glover
8056132e7b
archlinux: Add back install scripts
Although I removed install scripts in a previous commit, with the
current structure of this repository, it makes sense to include
them once again.
2018-10-31 11:33:31 -04:00
Donovan Glover
573257c518
meta: Use archlinux instead of arch
The word "arch" by itself may be confused with architecture, so it's
probably best to go with "archlinux" instead.
2018-10-31 11:28:48 -04:00