1
0
forked from extern/nix-config
Commit Graph

2321 Commits

Author SHA1 Message Date
Donovan Glover
db6d262864
fish: Add deno abbreviations 2023-08-31 16:17:36 -04:00
Donovan Glover
abadce3a96
flake.nix: Use stylix from upstream
Although I originally wanted to make some cool pull requests for stylix,
it turns out that adding such features would be non-trivial due to the
lack of home-manager support. Since I implemented the functionality I
wanted in my own config already, there's no need to maintain a separate
stylix branch.
2023-08-31 15:55:50 -04:00
Donovan Glover
d61f4b16a5
flake.nix: Use home-manager from upstream
Although maintaining my own home-manager repository was a nice learning
exercise, I don't contribute to home-manager enough to warrant having a
personal branch.

Since my pqiv pull request was merged upstream, my branch is basically
the same as upstream anyway.
2023-08-31 15:52:47 -04:00
Donovan Glover
7db1ecda37
chore: Fix formatting 2023-08-31 14:16:29 -04:00
Donovan Glover
f4d23d6784
refactor(containers): Abstract common config
This makes it possible to create multiple containers without duplicating
code. This may be useful for having an internet container and a no
internet container.
2023-08-31 14:08:37 -04:00
Donovan Glover
596a9183f8
meta(containers): Rename common.nix to shared.nix
This makes it easier to tab complete the default.nix, which is edited
more often.
2023-08-31 13:49:13 -04:00
Donovan Glover
877341abe5
meta(containers): Move setup script to common.nix
This makes it easier to associate that the file is used by containers.
2023-08-31 13:48:02 -04:00
Donovan Glover
56fc0c0cff
meta(containers): Rename wine.nix to default.nix
Since this is now the only container, having it as default.nix makes
sense.
2023-08-31 13:46:50 -04:00
Donovan Glover
24b658ed4b
meta(containers): Remove old default.nix 2023-08-31 13:46:06 -04:00
Donovan Glover
5c38772eca
containers: Merge dev container with setup
This change further reduces build times, removes duplicate code, and
makes things simpler overall.
2023-08-31 13:24:27 -04:00
Donovan Glover
374a7cbe19
hyprland: Add slidefade animation patch
This works however I prefer the current non-fading animations for now.
2023-08-31 13:06:21 -04:00
Donovan Glover
460b60bb9f
chore: Update packages 2023-08-31 12:39:37 -04:00
Donovan Glover
176a40b57b
ci: Replace crystal with deno
Although I've used Crystal for a number of years, it just can't compare
to the modern JavaScript/TypeScript development experience.
2023-08-31 12:37:40 -04:00
Donovan Glover
851d2aa212
treefmt: Replace crystal with deno
Deno is the future.
2023-08-31 12:25:45 -04:00
Donovan Glover
7e556f756e
containers(wine): Make unfree whitelist work
Unfortunately this is necessary to whitelist unfree packages inside the
container.
2023-08-31 11:55:24 -04:00
Donovan Glover
f315ce42f6
chore: Run deno fmt 2023-08-31 11:53:43 -04:00
Donovan Glover
824b710eb9
tests: Abstract logic into separate file 2023-08-31 11:50:27 -04:00
Donovan Glover
0f9ea294c2
tests: Complete migration to TypeScript/Deno
Well, that was easy.
2023-08-31 11:48:26 -04:00
Donovan Glover
0976968977
tests: Abstract assertion functionality
Also uses "async function" since I personally find that easier to skim
and know that it's a function.
2023-08-31 11:43:21 -04:00
Donovan Glover
fb7694a844
meta: Begin re-writing tests in TypeScript/Deno
2 months ago, I figured out how to make Crystal work on NixOS and made
an upstream PR to fix Crystal being unable to find -lpcre. Unfortunately,
that change hasn't been merged yet and I even encountered a core dumped
error when trying to build Crystal myself recently.

Although people may be busy, I am concerned about the popularity of
Crystal relative to other languages. It could be the case that the build
was broken for so long precisely because no one used Crystal, and that
the language isn't popular enough to generate comments on the patch either.

In any case, JavaScript/TypeScript is here to stay, and it certainly has
better tooling and community support than Crystal at the moment. Deno
has been going strong for a few years now, and now that I know Rust, I
can also contribute to it if I want to.
2023-08-31 11:31:37 -04:00
Donovan Glover
41b784ec9b
meta: Merge srb2 container with wine
This continues the process of reducing the amount of containers in order
to significantly reduce build times.
2023-08-31 10:20:18 -04:00
Donovan Glover
a28b33a2d9
meta: Merge iamb container with wine
Similar to the previous commit, I'm trying to reduce build times here.
Containers are great but each one increases the build time by a
non-trivial amount. By limiting the amount of containers and using
virtual machines for things that "absolutely need to be virtualized",
build times overall should be more productive.
2023-08-31 10:10:13 -04:00
Donovan Glover
8bf12e9f3b
meta: Merge rar container with wine
I'll rename this later, but basically I got tired of the vastly
increased build times due to having multiple containers, and would
rather combine containers where possible.

Although unfortunate, this should still be better than not using
containers at all, and by making the usage of such containers easier,
the probability of using them increases as well.
2023-08-31 10:09:09 -04:00
Donovan Glover
cc0500b3ad
hyprland: Revert gaps_out workaround
-1 is no longer needed due to the patch.
2023-08-31 00:53:10 -04:00
Donovan Glover
aadd410cb4
hyprland(ironbar): Revert back to single wrapper
This works since I fixed the double wrapper issue upstream.
2023-08-31 00:49:26 -04:00
Donovan Glover
b570a7ab50
hyprland: Remove fullscreen opacity workaround
Not needed with newer versions of hyprland.
2023-08-31 00:48:01 -04:00
Donovan Glover
1c1c666f57
overlays: Patch hyprland window sizes
Fixes an issue where 1 pixel gaps would exist where window sizes would
otherwise divide evenly.
2023-08-31 00:45:04 -04:00
Donovan Glover
03205ffada
hyprland: Use Super+Shift+Q to close windows
This makes it harder to accidentally close windows.
2023-08-30 16:16:12 -04:00
Donovan Glover
768ca2232c
feat: Replace hyprland-relative-workspace with hyprnome
This also has the advantage of fixing an issue where
hyprland-relative-workspace would prevent new workspaces from being
created in the previous direction when a special workspace was present.
2023-08-30 16:14:50 -04:00
Donovan Glover
8dcf4d6634
meta: Remove custom crystal build
I'm personally not interested in maintaining a 40+ minutes crystal build
and the upstream pull request I made hasn't been merged yet.
2023-08-30 15:56:54 -04:00
Donovan Glover
6a2b57a6a6
chore: Update to latest nixos-unstable 2023-08-30 15:18:40 -04:00
Donovan Glover
5b58696de6
chore: Fix spacing 2023-08-29 21:00:47 -04:00
Donovan Glover
a15fd23b9b
feat: Style cmus with stylix
Based on https://github.com/averms/base16-cmus
2023-08-29 21:00:15 -04:00
Donovan Glover
45284953bb
hyprland: Blur rofi 2023-08-28 23:46:45 -04:00
Donovan Glover
80797d3b0d
rofi: Increase icon size and number of columns 2023-08-28 23:46:20 -04:00
Donovan Glover
6061667179
hyprland: Toggle rofi with super 2023-08-28 23:45:15 -04:00
Donovan Glover
cb65c7e53f
chore: Update sakaya 2023-08-28 23:44:21 -04:00
Donovan Glover
35f67d03ff
meta: Replace rofi overlay with nixpkgs version
The overlay isn't needed anymore since rofi-wayland was updated in
nixpkgs.
2023-08-28 15:37:56 -04:00
Donovan Glover
e941e20acf
Revert "meta: Remove rofi"
Currently rofi seems like the most feature complete launcher that gets
the job done. I'd rather use it than code a custom solution at the
moment.
2023-08-27 19:12:39 -04:00
Donovan Glover
f2aa0efe21
feat: Add thumbnail support for webp files 2023-08-24 17:57:02 -04:00
Donovan Glover
e6fa09220e
neovim(clipboard-image): Don't prompt for file name
Fixes an issue where this would occasionally break.
2023-08-22 14:53:06 -04:00
Donovan Glover
0c1669e8db
chore: Update to hyprland 0.28.0-unstable-2023-08-15 2023-08-22 12:31:08 -04:00
Donovan Glover
98d3f653c4
chore: Update flake inputs 2023-08-19 22:49:21 -04:00
Donovan Glover
8df146e353
packages: Rename go-thumbnailer to thud 2023-08-19 22:16:43 -04:00
Donovan Glover
c1766e8aa8
neovim: Add texlive for vimtex 2023-08-19 22:16:15 -04:00
Donovan Glover
917b7d626a
fish(eza): Ignore .nuxt directory 2023-08-19 22:15:53 -04:00
Donovan Glover
b5d6e46fb8
fish: Enable GATSBY_TELEMETRY_DISABLED
This should get rid of the feedback prompts that Gatsby shows users.

See: https://www.gatsbyjs.com/docs/cli-feedback/
2023-08-16 13:56:00 -04:00
Donovan Glover
8359122544
hyprland: Passthrough keybinds to VM with ctrl+alt
Also useful for preventing keybinds from being used while working on
other things.

Source: https://old.reddit.com/r/hyprland/comments/15puf7x/
2023-08-14 11:26:29 -04:00
Donovan Glover
005b6d6ff9
hyprdim: Dim dialogs 2023-08-14 10:56:56 -04:00
Donovan Glover
144ec9637b
chore: Update flake inputs 2023-08-14 10:56:40 -04:00