1
0
forked from extern/nix-config
Commit Graph

25 Commits

Author SHA1 Message Date
Donovan Glover
6f58c47506
fedora: Revoke sudo privileges when no longer needed
We don't need sudo privileges when installing the dotfiles and
vim plugins.
2018-12-07 15:24:16 -05:00
Donovan Glover
996afdc310
fedora: Add make clean target
In attempt to keep the home directory as clean as possible, we remove
the rpmbuild directory when we're done with it, which, as of this
writing, will not contain any files anyway.
2018-11-30 16:48:03 -05:00
Donovan Glover
b6f46ad1e8
fedora: Fix make all target
As far as I know this is the proper way to run other make targets
from the same Makefile.
2018-11-28 22:25:45 -05:00
Donovan Glover
bf73c5c8cc
fedora: Use base16-tomorrow-night by default
For software development and other practices where distinguishing
between the colors in a color scheme is important (e.g. red versus
green, etc.) the base16-tomorrow-night theme offers a great middle
ground between aesthetics and readability.
2018-11-27 19:31:03 -05:00
Donovan Glover
82f6bf2c7e
fedora: Remove rice-specific packages from muya.spec
The actual rice is performed by the make target, so it makes sense
to remove the duplication here.
2018-11-27 18:31:28 -05:00
Donovan Glover
f964dff841
fedora: Apply GNOME settings during rice target
Instead of applying the GNOME settings manually, we set them
automatically when running `make rice` instead.
2018-11-27 18:30:57 -05:00
Donovan Glover
c794cce477
fedora: Update README
Since I now know how GNOME works (using dconf and gsettings), changing
settings manually with GNOME Tweaks is no longer necessary. Instead,
everything can be handled directly through the `make rice` command.
2018-11-23 10:15:15 -05:00
Donovan Glover
fb20cb3620
fedora: Install vim plugins during bootstrap.sh
This makes it possible to immediately use vim with all the plugins
installed after running bootstrap.sh, no intervention needed.
2018-11-18 03:46:33 -05:00
Donovan Glover
d767450dcc
fedora: Install pywal locally
Since the local bin directory is already sourced in Fedora,
we can take advantage of it here.
2018-11-14 15:13:50 -05:00
Donovan Glover
a6122f8f73
fedora: Add persistent sudo to bootstrap.sh
Since sudo times out after 5 minutes, and since we don't want to run
every command as root, we can instead create a "persistent sudo" by
invoking the sudo command at least once within 5 minute time frames.

This script does just that, and solves the problem of sudo timing out
after a long command.
2018-11-14 15:08:20 -05:00
Donovan Glover
7445de60ca
fedora: Simplify Makefile
Since dotfiles only change the functionality of existing programs, it is
reasonable to stow everything at once for consistency between operating
systems.
2018-11-14 13:39:25 -05:00
Donovan Glover
f5284db737
fedora: Add kitty
Although there's already a default terminal emulator, configuring it
through dotfiles is non-trivial. kitty works exceptionally well on
Fedora, and since I already use it on Arch Linux, I might as well
use it here too.
2018-11-13 15:34:55 -05:00
Donovan Glover
6b30e9201f
fedora: Don't prompt when installing rustup 2018-11-13 14:48:29 -05:00
Donovan Glover
266ce1a6e2
fedora: Fix paths in Makefile
Here we have to reference the RPMs directory explicitly since the
spec file is inside it.
2018-11-13 14:40:25 -05:00
Donovan Glover
3c98fa96ef
fedora: Update README
It turns out that dnf *will* remove unused dependencies when you
uninstall a package.
2018-11-13 13:58:56 -05:00
Donovan Glover
e86ad95cd6
fedora: Add bootstrap script
Since Fedora by default does not include all the dependencies
required to run the Makefile, we install them first.
2018-11-13 13:43:50 -05:00
Donovan Glover
8b9ed3f623
fedora: Update Makefile
Instead of installing a pre-built RPM, we can build it ourselves on the
spot instead. This is less maintenance for me and makes it easier to
verify the package being installed.
2018-11-13 13:38:07 -05:00
Donovan Glover
a3dda2b8b2
Move muya.spec to .fedora
This should work, but it hasn't been tested yet. In the future I'd like
to use branches before pushing large updates to master. This would also
give me the chance to see how symlinks behave when a different branch is
checked out.
2018-11-13 13:00:39 -05:00
Donovan Glover
13afe8d8cd
fedora: Add vendor scripts
These scripts can be manually updated by running the `make update`
command. When you do so, visually compare the diffs. This is to
ensure that nothing particularly naughty happened upstream.

Note that this is not a fool-proof solution since one can simply
modify the content returned by any other location a script requests.
2018-11-11 12:11:44 -05:00
Donovan Glover
534b38ebbf
fedora: Update Makefile
This hasn't been tested yet, but it *should* work.

Most of the software I install is handled by the RPM, with the
exception of software not present in the official repositories.

The install scripts for these software are stored locally in this
repository since I want an easy way to keep track of the diffs. Of
course, you should run the `make update` command yourself to get the
latest updates and visually compare any differences from upstream.
2018-11-11 11:53:49 -05:00
Donovan Glover
a349c5805c
fedora: Update README
Since I learned a bit about RPMs and how to make them, I can drastically
simplify the instructions required to replicate my Fedora setup.
2018-11-11 11:17:10 -05:00
Donovan Glover
f06df4e1ab
fedora: Add font settings
They say that good font rendering makes any setup look better.
2018-11-01 21:58:38 -04:00
Donovan Glover
816b4ea9ff
fedora: Change cursor theme to Breeze
This makes the cursor theme consistent with my Arch rice.
2018-10-31 10:04:48 -04:00
Donovan Glover
9ac25f199c
fedora: Add Makefile
This commit adds a very basic Makefile that simplifies the tasks
required for the Fedora rice. Still a work in progress, but mostly
functional.
2018-10-31 02:42:58 -04:00
Donovan Glover
96e8a778f0
meta: Add Fedora rice
Instead of having a separate repository for each rice, I can instead put
them in this repository (prefixed with ., so that they're not indexed by
the stow Makefile).
2018-10-31 02:38:07 -04:00