Commit Graph

2596 Commits

Author SHA1 Message Date
cac5d0c159 Switch from wine-staging to wineWowPackages.waylandFull
This causes more programs to work and seems to be the most popular
package for wine on NixOS, so it should be preferred in all cases.
2023-06-16 07:58:36 -04:00
69bd0757d2 containers(dev): Use home manager module 2023-06-16 07:47:21 -04:00
e5c0e7d985 chore: Fix typo 2023-06-16 07:34:13 -04:00
f08e4ca34f chore: Run nixpkgs-fmt 2023-06-16 07:31:39 -04:00
cdf9652a34 meta: Use separate home-manager modules
This makes it easier to use our modules with home-manager on non-NixOS
distributions as needed.
2023-06-16 07:25:00 -04:00
395dd8e3f3 misc: Fix typo 2023-06-16 06:20:39 -04:00
57d6e3ea14 meta: Don't autostart containers
Unfortunately not possible (at least non-trivially) since containers may
depend on a graphical instance already running.
2023-06-15 11:11:08 -04:00
735201eb9b hyprland: Re-enable vfr by default
This fixes an issue where disabling vfr would cause certain applications
to perform worse, as well as QEMU virtual machines showing lower
performance.
2023-06-15 10:47:15 -04:00
7e40522708 chore: Update flake inputs 2023-06-15 10:42:46 -04:00
4d1f614163 waybar(workspaces): Remove hover feedback
Unfortunately, I haven't came up with a solution to making waybar
workspaces clickable with hyprland-autoname-workspaces yet.
2023-06-14 08:42:09 -04:00
080a491b20 gamemode: Specify location used 2023-06-14 08:41:14 -04:00
6e61915182 fish: Remove exec hyprland
Not needed since greetd handles autologin.
2023-06-13 21:16:59 -04:00
4fdfb6b94b containers(osu): Remove gamemode
gamemode is started from the host, so this isn't needed.
2023-06-13 17:28:21 -04:00
b0dd76886a flakes: Remove hyprland
Not needed anymore since we can simply use the hyprland module in
nixpkgs.
2023-06-13 17:17:01 -04:00
44adb319f5 waybar-hyprland: Use custom overlay
This fixes an issue where waybar-hyprland would break with
hyprland-autoname-workspaces.
2023-06-13 17:01:56 -04:00
1fa52fcbbc Revert "meta: Disable vfr at the gamemode level"
This completely broke gamemode notifications. Luckily we're using NixOS
so a revert was as easy as `git revert` and `nixos-rebuild`.
2023-06-13 11:14:46 -04:00
3df3aa19f9 meta: Disable vfr at the gamemode level
This fixes an issue where other applications would perform *worse* with
vfr disabled, notably srb2.
2023-06-13 10:45:30 -04:00
576a9727be hyprland: Decrease default vertical split ratio 2023-06-13 09:48:42 -04:00
2b054e8c18 hyprland: Use default split ratios 2023-06-13 09:11:06 -04:00
1f3c3c0c58 neovim(alpha-nvim): Customize 2023-06-13 09:08:28 -04:00
b856e26b3a nix: Formatting 2023-06-13 09:06:48 -04:00
0f1ea26e84 containers(osu): Fix audio 2023-06-12 23:38:37 -04:00
a642433003 containers: Add osu 2023-06-12 23:38:28 -04:00
a16236534f neovim: Replace vim-startify with alpha-nvim
alpha-nvim is significantly faster than vim-startify and doesn't error
on first startup.
2023-06-12 21:49:32 -04:00
9b55087bf4 containers: Use graphics from host
As alluded to earlier, this significantly increases the performance of
graphical applications running inside containers.
2023-06-12 20:56:14 -04:00
8ce1e73531 containers: Add srb2 container
Previously I decided against using srb2 in a container due to the poor
performance I experienced. Since I figured out how to use the graphics
from the host inside of the container, performance is no longer an
issue.
2023-06-12 20:52:17 -04:00
48c2f322bd meta: Add stylix to gui container
This lets us use different color schemes for different containers, as
well as maintain decent styles and fonts with applications inside of
containers.
2023-06-12 18:54:03 -04:00
8f131a64e7 Only import internal container configs
Sharing external container configs seems non-trivial and, although
possible, it may be better to simply manage containers independently.
2023-06-12 18:52:29 -04:00
bb6d0afc93 misc: Make exa man pages accessible
Even though it's possible to guarantee that a certain package is used,
it's still necessary to include packages in the $PATH in order to have
access to the man pages for them, among other things.
2023-06-12 18:40:06 -04:00
91fff9d285 hyprland: Less blur 2023-06-12 18:39:16 -04:00
b6ec715154 Update main.nix 2023-06-12 18:35:19 -04:00
dace88bc76 Move more dev stuff to neovim 2023-06-12 18:34:41 -04:00
ef0e1acfc7 containers: Add gui container 2023-06-12 18:09:57 -04:00
4cd995138d hyprland: Don't inherit fullscreen 2023-06-12 17:35:57 -04:00
44057b2579 meta: Move cli tools to fish module
This results in a consistent environment when using any given shell.
Note that adding a package to $PATH instead of just referencing it where
it's needed is useful since otherwise the man pages are inaccessible.
2023-06-12 17:00:26 -04:00
f5d7fba157 meta: Move dev tools to neovim module
This fixes some neovim plugins throwing errors due to missing things
such as language servers.

Note that although it *would* be possible to abstract this functionality
into a variety of imports, options, or other abstractions, including
everything at once should reduce complexity since I am not interested in
maintaining different states of configuration. In other words, either
everything works, or something doesn't work and then everything works.
2023-06-12 16:54:12 -04:00
7d79840d3d containers(dev): Add fish-starship 2023-06-12 15:10:13 -04:00
610cc8acf0 starship: Disable container module
The container module has been broken for a while and doesn't show
relevant container names.

See: https://github.com/starship/starship/issues/3592
2023-06-12 15:07:52 -04:00
cbdd5998ec meta: Add dev container
Note that this container uses home-manager from the Nix flake on the
host system, which is pretty cool.

Currently modules in this repository *don't* differentiate between
home-manager and nixos, but this could be changed in the future to
support e.g. my home-manager neovim config on a non-nixos system.
2023-06-12 14:54:40 -04:00
9692307bd9 nix: Simplify 2023-06-12 13:40:56 -04:00
a2886940f4 nix: Move hosts to src
Might change this later once home-manager and nixos modules are
separated.
2023-06-12 13:26:54 -04:00
883c4780da nix(ncmpcpp): Compact keybinds
Now possible since nixpkgs-fmt is used instead of alejandra.
2023-06-12 10:29:25 -04:00
5e65df256a meta: Add treefmt 2023-06-12 03:48:15 -04:00
797c0e8ec4 neovim: Add fcitx-vim
This plugin enables smooth integration between fcitx5 and neovim. In
order words, you no longer have to manually change input methods when
switching between normal mode and insert mode.
2023-06-12 03:12:48 -04:00
41f23b165c nix(joshuto): Fix typo 2023-06-12 03:12:11 -04:00
4e2292ebe6 joshuto(icons): Remove unused directory names 2023-06-12 03:11:40 -04:00
ce57cd1433 containers: Remove hostCfg
This shouldn't be needed since there are many other ways to share
configuration from the host, and I never used opengl.extraPackages
anyway.
2023-06-12 03:07:03 -04:00
1deb12331d nix: Syntax highlight more strings 2023-06-11 15:37:06 -04:00
f7f8f56119 nix(joshuto): Inline toml config
This lets us take advantage of nix strings while having the entire
config in a single portable file.

Note that someone already wrote a home manager module for joshuto, which
should get merged soon.

See: https://github.com/nix-community/home-manager/pull/4004
2023-06-11 14:51:50 -04:00
759e4b6d72 hyprland: Don't use groups
I haven't used groups in a while and find things simpler that way.
2023-06-11 14:32:32 -04:00