1
0
forked from extern/nix-config
Commit Graph

115 Commits

Author SHA1 Message Date
Donovan Glover
3005a7ce51
archlinux: Remove install scripts
Although writing my own install scripts was a valuable learning
experience, Arch Linux now has an official archinstall utility, which
should be easier to use than having to edit a bash script.
2022-06-11 16:56:43 -04:00
Donovan Glover
51f303d09e
archlinux: Remove old yarn prefix
At some point I added this, although now yarn stores all global packages
in .yarn by default, so this isn't necessary.
2022-03-23 20:54:59 -04:00
Donovan Glover
05100eca7e
Revert "Remove tari-core meta package"
Looking back at this, meta packages should be one of the most convenient
ways to keep track of packages. It gets the job done and should be more
than sufficient for our use case.

In particular, installing all packages guarantees that we won't "miss
something" and have to install it manually, which is more useful than
having a lower package number count.

The main disadvantage is dealing with constant updates to large packages
in a restrictive internet environment, although it's possible to
mitigate this by separating the smaller packages from the larger ones.
2022-03-13 09:02:09 -04:00
Donovan Glover
f4627139a6
Switch from xz compression to zst
Note that I'll likely change some other stuff at a later date.
2021-06-21 18:04:35 -04:00
Donovan Glover
a42bf287a4
Remove yay stuff from bootstrap script
Note that I need to update the script later or simply provide a series
of instructions so everything isn't dependant on one script.

In the past it was nice to install Arch Linux with minimal if any
console intervention, but the practicality of this is questionable
since you only have to install Arch once. A more specialized script
could be useful for mass installations, although in this case I assume
one would create such a script on-the-spot.
2021-05-14 16:00:29 -04:00
Donovan Glover
a8d16cbb0c
Remove tari-core meta package
Having a meta package was cool and it got the job done, but it's
inconvenient to use when adding and removing a lot of packages.

One alternative I'm looking at is simply keeping track of all the
explicitly installed packages and storing that in a text file. This
makes it easy to keep track of all the installed packages without
introducing downsides, and new machines that don't need certain
packages can simply delete those lines.
2021-05-13 10:56:30 -04:00
Donovan Glover
0662befeb2
Remove dunst
dunst actually has Wayland support but I'd like to try something else
for now, possibly something more "sway-like".
2021-05-12 20:25:40 -04:00
Donovan Glover
6adeb19e2b
Remove compton
Over time compton became unmaintained and a replacement package picom
took its place. After trying out sway for a bit, I realized that it
doesn't need a separate compositor at all like bspwm does, so I might
just switch to it. Note that there is a performance penalty on sway
that I haven't figured out how to solve yet.
2021-05-12 18:10:17 -04:00
Donovan Glover
5071eb3731
Remove evince
evince actually uses less memory than zathura and seems to be more
efficient overall, although it isn't as customizable as zathura and
not as minimal in terms of UI.

Overall, I'd rather just use zathura, which also lets me be more
consistent in my bspwm setup.

Apparently gnome-books and sushi depend on evince, the first of which
is a GUI for djvu/epub files and the second of which lets you preview files
with the spacebar in the file explorer. Ironically, I've never used this
feature until I read about it, and although it seems cool, I don't think
I have a use for it as I've been opening my files normally for years now.
2021-05-12 05:12:41 -04:00
Donovan Glover
46cd567a97
Remove unused packages
Some of these packages I don't use anymore. I've gone ahead and removed
them here.
2021-05-11 09:42:02 -04:00
Donovan Glover
4af8b2a37e
Remove custom mozilla.cfg
At some point some of these settings stopped working. I'd rather not
deal with the cost of maintaining everything so I'm just removing it
for now.
2021-05-10 10:20:16 -04:00
Donovan Glover
a8a0055c49
Remove xeventbind
Since I don't change resolutions as often if at all anymore, this
isn't needed.
2021-05-10 10:17:59 -04:00
Donovan Glover
3cbbbd1255
Remove bspwm-round-corners-git
I no longer have a need to use round corners in bspwm, although it was
cool at the time.
2021-05-10 10:04:34 -04:00
Donovan Glover
5bc2693cfb
archlinux: Add vim and dhcpcd to install-scripts
These packages aren't included by default anymore so adding them here
makes sense. Note that maintaining a large meta package is actually
difficult since one error means the whole thing doesn't work.

I am looking for an alternative solution to keep things somewhat
automated while at the same time increase flexibility when it comes
to the initial setup.
2021-01-04 23:41:41 -05:00
Donovan Glover
09ca99fe97
archlinux: Remove arc-kde from tari-core
This package isn't in the main repos anymore so we have to remove it
to avoid errors during the make process.
2021-01-02 19:00:24 -05:00
Donovan Glover
182c1e2061
archlinux: Update pacstrap packages
base-devel no longer exists and the installation guide now tells users
to explicitly install the linux and linux-firmware packages.
2021-01-02 18:02:54 -05:00
Donovan Glover
ecf6125907
archlinux: Use curl instead of wget for install scripts
Current iso doesn't have wget automatically installed, so we should
use curl instead.
2021-01-02 17:57:03 -05:00
Donovan Glover
6b109ac0d0
PKGBUILDs: Add sensible-chromium
I actually wrote this in 2018 but never committed it. Might as well do
that now. The extensions it installs are uBlock Origin, Vimium, and
HTTPS Everywhere.
2021-01-01 23:50:51 -05:00
Donovan Glover
e2ca722963
meta: Miscellaneous updates
I wanted to commit some more stuff for 2020. Better late than never,
right? The most significant change is probably in fish_prompt.fish.
I fixed an edge case where the directory in question could be the
same as the user's username.
2020-12-31 23:56:22 -05:00
Donovan Glover
decb6bd157
archlinux: Add gotop
Unlike vtop and gtop, gotop is a nice top solution that doesn't
rely on JavaScript in the terminal.
2019-01-22 08:54:49 -05:00
Donovan Glover
1977881b78
archlinux: Update shotgun
The shotgun package is now in the community repository.
2018-12-31 16:00:02 -05:00
Donovan Glover
58ee4a348b
archlinux: Remove shantz-xwinwrap-bzr
Since animated desktop backgrounds are more of a hassle to maintain than
they are worth, I've gone ahead and removed xwinwrap. If you are running
bspwm and still want an animated desktop background, use:

xwinwrap -g 3840x2160 -ov -- mpv -wid WID --loop inf your.video

For reference, you can use xwinwrap with any resolution you want, not
just your screen size. mpv will also accept pretty much any animated
format out there.
2018-12-31 15:39:26 -05:00
Donovan Glover
75de75a6ca
meta: Change repository name from .files to dotfiles
It turns out that using a literal dot instead of the word dotfiles has a
negative impact on the discoverability of the repository. Since the
directory name can be changed to .files when running `git clone`, this
gives us the freedom to name the repository however we please.
2018-12-28 14:00:25 -05:00
Donovan Glover
8771dff380
archlinux: Remove ranger-git
kitty support is now in the latest released version of ranger, which
is now in the community repository.
2018-12-28 13:56:53 -05:00
Donovan Glover
b2ff1f09f9
docs: Remove old todo
This repository is now cloned as part of install.sh. It is up to the
user whether or not they want to run bootstrap.sh on first boot.
2018-12-17 15:51:13 -05:00
Donovan Glover
6e92980c75
docs: Add Code screenshot 2018-12-15 20:04:05 -05:00
Donovan Glover
b58f25c793
docs: Add screenshot 2018-12-14 16:56:06 -05:00
Donovan Glover
d812ff86aa
misc: Update docs
Changing between desktop environments is no longer a feature since
it's easier and more convenient to use only one environment, although
it's still certainly possible for the determined user.
2018-12-12 19:23:54 -05:00
Donovan Glover
26a074eeb4
archlinux: Install rust toolchain during bootstrap.sh
This is necessary during the bootstrap step since the shotgun
PKGBUILD assumes that a rust toolchain is installed.
2018-12-12 08:29:32 -05:00
Donovan Glover
044d919bba
archlinux: Clone this repository as the proper user
This fixes an issue where root would own all the files in the user's
~/.files directory, preventing the user from doing anything useful.
2018-12-12 06:53:45 -05:00
Donovan Glover
c552c3b633
archlinux: Fix make refresh-keys target
The bootstrap script was trying to call refresh-keys when the make
target was named update-keys. Since the flag is called --refresh-keys,
it makes sense to call the make target refresh-keys as well.
2018-12-12 06:47:36 -05:00
Donovan Glover
ebb3663105
archlinux: Remove --now flag from lxdm.service
We don't want to start lxdm during the bootstrap process.
2018-12-11 15:53:22 -05:00
Donovan Glover
ce8a2e54c7
meta: Update Arch Linux bootstrap process
Fixed some things which should make the entire process a bit
more fluent.
2018-12-11 15:51:10 -05:00
Donovan Glover
bb5b168ca5
archlinux: Add make gnome target
Here are some good default GNOME settings for when you want to boot
into the gnome shell instead of bspwm.
2018-12-11 15:16:07 -05:00
Donovan Glover
7825eed62f
archlinux: Enable the lxdm service
Note that we enable lxdm before revoking privileges. The user can
start lxdm manually after this script is finished, but ideally the
system should first be rebooted to ensure that any kernel updates
are applied properly.
2018-12-11 15:11:37 -05:00
Donovan Glover
d4475bbf3a
archlinux: Add shantz-xwinwrap-bzr
This makes it possible to draw mpv on your desktop. In other words, it
lets you use animated backgrounds with any format mpv supports.
2018-12-11 14:39:12 -05:00
Donovan Glover
e7f00aa7f8
archlinux: Run xdg-user-dirs-update during bootstrap.sh
Note that the directories generated can be changed with
user-dirs.dirs, and should respect the user's locale.
2018-12-11 14:32:16 -05:00
Donovan Glover
1324f4099a
archlinux: Remove bspwm-round-corners-git from bootstrap.sh
It turns out that manual intervention is necessary to resolve dependency
conflicts (bspwm-round-corners-git replaces bspwm), so it is easier to
simply install bspwm-round-corners-git later if wanted.
2018-12-11 14:23:00 -05:00
Donovan Glover
429a56d480
archlinux: Refresh keys before installing packages
This fixes an issue where some packages cannot be verified if
they use new keys.
2018-12-09 23:57:47 -05:00
Donovan Glover
49c0091f1b
archlinux: Use yay to install AUR packages
It turns out that yay automatically handles the process of installing
package dependencies not in the official repositories. This is very
important for some PKGBUILDs, so I've gone ahead and let yay handle
all the AUR packages I build.
2018-12-09 23:52:24 -05:00
Donovan Glover
cdad1fe3bf
archlinux: Remove dependency step from bootstrap.sh
Any dependencies that need to be installed will be done so from
tari-core.
2018-12-09 23:44:49 -05:00
Donovan Glover
8ac1e0f765
archlinux: Add make rust target
Since rustup is just the installer, we have to use it to
install rust.
2018-12-09 23:42:01 -05:00
Donovan Glover
c93c4dc60f
tari-core: Add missing packages
Note that plasma-integration is used for KDE theme support without
installing the entire plasma-desktop. The breeze_cursors theme is
included in the breeze package, and xorg-xsetroot is used to change
the default X shaped cursor to a pointer.
2018-12-09 23:31:29 -05:00
Donovan Glover
6ca65d02eb
meta: Remove unused packages
Since I figured out how to run both KDE and GTK applications with
their proper settings under any lightweight window manager, and since
I now know how to configure these programs independent of their desktop
environments, this commit removes plasma-desktop, with the possibility
of gnome-shell bring removed in a future commit as well.

The rationale is that using a desktop environment is counter-intuitive
when you already use a window manager. Having multiple desktop environments
to start a session with is certainly amusing, but not at all practical,
especially when you can accomplish anything that needs to be done with
any window manager.

Switching between GNOME, Plasma, and bspwm also caused some inconsistent
X settings that I assume are non-trivial to fix without a proper restart
of the X server.

Simply starting the Plasma desktop environment will create quite a few
files in ~/.config. These files consist of window coordinates and other
non-friendly things, which, IMO, should not belong in the *user's* config
directory.

Regarding other software, GNOME MPV is arguably easier to use and less
buggy than baka-mplayer. Manipulating archives is also much easier with
file-roller than it is with ark. Since I got Audacity to look decent on a
HiDPI display, I no longer have a use for Kwave, which did not have some
of the essential features I used in Audacity anyway.

l3afpad functions much more like a notepad than kwrite, which is what
I'm looking for since I already use Vim. Using Cantata as a mpd client
is simply not the same as using ncmpcpp. zathura and evince are more
than enough for document viewing, hence the removal of Okular.
2018-12-09 22:33:57 -05:00
Donovan Glover
f649795900
tari-core: Use one line per package
This makes it easy to remove unwanted packages as needed. It also
improves git diffs, since the line with the closing parenthesis
is not changed.
2018-12-09 19:24:56 -05:00
Donovan Glover
948359bdef
archlinux: Add bootstrap.sh
This *should* work, although I haven't tested it yet.
2018-12-08 13:49:29 -05:00
Donovan Glover
6a81d13297
meta: Add bspwm-round-corners-git PKGBUILD
This is the PKGBUILD I made for a [nice patch][1] that adds border
radius support to bspwm. The patch has not been merged upstream yet,
so this PKGBUILD will have to do in the meantime.

[1]: https://github.com/baskerville/bspwm/pull/856
2018-12-08 13:10:12 -05:00
Donovan Glover
9ff3bfa22f
PKGBUILDs: Merge tari-web with tari-core
Since anyone using Tari will probably want the web browsers too,
this change makes sense.

Since all of Tari is now in one PKGBUILD, it is easy to see everything
that will be installed, and it becomes trivial to add or remove packages
as needed.
2018-12-08 12:35:00 -05:00
Donovan Glover
eff526497b
meta: Don't install firefox extensions globally
Updating firefox extensions manually is not ideal. Additionally,
this method is non-trivial to apply if the target system does not
use pacman as the package manager.
2018-12-08 11:26:13 -05:00
Donovan Glover
05a824ae69
PKGBUILDs: Rename tari-scripts to color-scripts
Since color scripts can be used independently of Tari
(the meta package), this change makes sense.
2018-12-08 11:07:01 -05:00