Commit Graph

24 Commits

Author SHA1 Message Date
554630bf9a nix(containers): Prefer inheriting from outputs 2024-07-12 12:28:10 -04:00
f6fc80c1f0 nix: hardware.opengl.enable -> hardware.graphics.enable
hardware.opengl.enable is now deprecated.
2024-06-25 10:49:08 -04:00
5e5d7c0468 containers: Fix cursor by inheriting overlays
Previously the old phinger-cursors package was being used without the
overlay. This fixes that and ensures that all packages have their
appropriate overlays.
2024-06-02 23:41:51 -04:00
f9426b18c8 meta: Drop xcursor
This doesn't seem to change anything nowadays with Hyprland so it should
be okay to drop in 2024.

Edit: This seems to get set with pointerCursor in home-manager which
gets set by stylix, so it shouldn't matter either way.

See: ff1c364654/modules/config/home-cursor.nix (L172-L175)
And: b36fb34a9c/stylix/hm/cursor.nix (L15)
2024-04-18 21:17:38 -04:00
ec496e1a69 meta: Rename shared.nix to default.nix
This should make it easier to tell that this is the default
configuration inherited by all containers.
2024-04-06 22:47:01 -04:00
24c4badf39 meta: Make containers a nixosModule
Makes it easier to use the containers in other configs.
2024-04-01 06:24:52 -04:00
bcf54f4cb4 wine: Downgrade from 9.0-rc1-staging to 8.2
Fixes an issue where the newer version of wine would cause my current
wine prefixes to crash with missing DLL errors. Might be fixable by
creating new prefixes with the new version, however it's much easier
for me to stick with what's known to work.

See: https://github.com/NixOS/nixpkgs/pull/273232
2023-12-15 02:31:32 -05:00
72dbecfa78 feat: Update sakaya to latest commit
sakaya will now automatically choose 32-bit and 64-bit wine prefixes
based on the executable itself.
2023-10-29 15:19:57 -04:00
b18ccd3dfc chore: Improve formatting 2023-10-29 15:11:57 -04:00
4365aa59fd containers: Disable restartIfChanged
Makes it possible to use sakaya without worrying about the container
automatically restarting on config changes and closing all the wine
applications.

This was previously part of my personal nixpkgs branch but I turned it
into an option that should hopefully be upstreamed soon.
2023-10-10 18:55:31 -04:00
7db1ecda37 chore: Fix formatting 2023-08-31 14:16:29 -04:00
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
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
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
24b658ed4b meta(containers): Remove old default.nix 2023-08-31 13:46:06 -04:00
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
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
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
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
2f0249a046 chore: Update imports 2023-08-07 22:00:17 -04:00
971dbec0f9 containers: Remove obsidian
After using Logseq for a few months, using Obsidian for just a little
bit is quite repulsive. Taking notes that aren't in outliner form feels
alien and not worth it for me personally.
2023-07-02 17:38:26 -04:00
dd6f43e02d containers: Add iamb
iamb is a TUI matrix client written in Rust.
2023-06-23 10:40:00 -04:00
7b79bbae70 meta: Remove old osu container
No longer needed since I no longer intend to use nix-gaming. May add
another container later without it.
2023-06-22 09:27:44 -04:00
aa15dc00ee containers: Use separate default.nix 2023-06-20 18:42:56 -04:00