Commit Graph

3734 Commits

Author SHA1 Message Date
a9c5c5eddd starship: Re-enable containers module
Having some indicator that we're in a container is better than no
indicator at all. starship takes forever to compile, so patching it
would introduce excessively long build times.
2023-06-22 14:38:27 -04:00
4d893bed47 setup.nix: Add more modules
Now locale and timezone will be set. Nix flakes also get enabled and
neovim becomes a usable editor.
2023-06-22 13:14:52 -04:00
7a07f70f7c meta: Include fish/starship in all containers 2023-06-22 13:06:00 -04:00
7f210f074e setup.nix: Use modules/home-manager.nix 2023-06-22 12:53:18 -04:00
2edce5949e setup.nix: Use GTK/X settings 2023-06-22 12:51:54 -04:00
1bfdcaa96c containers(wine): Migrate to setup.nix 2023-06-22 12:51:35 -04:00
aca37da408 containers(obsidian): Migrate to setup.nix 2023-06-22 12:46:20 -04:00
c211bdca9b containers(dev): Migrate to setup.nix 2023-06-22 12:44:25 -04:00
269b5143e4 setup.nix: Fix imports 2023-06-22 12:37:37 -04:00
28a55383b4 containers(srb2): Use setup.nix 2023-06-22 12:28:27 -04:00
9167763aeb meta: Move containers config to setup.nix
The config sets up the containers, hence setup.nix.
2023-06-22 12:25:37 -04:00
505e35edcd containers: Use more detailed common config
All containers can inherit a lot of the same settings since the main
feature is separating applications from the host and each other.
2023-06-22 12:19:03 -04:00
c6e3513a5d meta: Use packages module
May or may not separate or split this later.
2023-06-22 12:09:26 -04:00
ce4bd8f10f chore: Update packages 2023-06-22 11:57:03 -04:00
2f5a3f184a containers(gui): Remove unused packages 2023-06-22 11:55:52 -04:00
1eb77fd467 modules: Add system 2023-06-22 11:54:12 -04:00
0aaba9a591 meta: Remove variables from containers
Modules solve the variable problem in a nicer way.
2023-06-22 11:44:35 -04:00
7316153e37 chore: Formatting 2023-06-22 11:30:32 -04:00
8ffb196c0b meta: Don't use variables
The previous commit didn't actually work, and I shouldn't need to
change the variables often, so it's much simpler to not have them.

In the event that I do need to change something, rg and sd should get
the job done well.
2023-06-22 11:10:17 -04:00
2f056d1e72 meta: Migrate to config.variables 2023-06-22 10:42:23 -04:00
2ea920c0c0 xdg-user-dirs: Use config.variables.username
Note that I may change this to simply config.username in the future
depending on how many variables I actually need.
2023-06-22 10:20:58 -04:00
99d2913b41 nix: Remove one-off variables
Don't use variables for things that only get defined in one place.
2023-06-22 10:17:49 -04:00
4d8ce87fb1 meta: Import hardware
Which hardware can be determined from the default.nix at a later date if
needed.
2023-06-22 10:16:38 -04:00
2d808e6162 nix: Begin migration to options
No need to import a variables file since all modules have access to the
options defined in all other modules.
2023-06-22 10:10:55 -04:00
afd6cce13c meta: Remove nix-gaming
No longer needed since I understand how to implement this myself now.
2023-06-22 09:53:29 -04:00
1dcf95a7eb pipewire: Inline low latency module
This removes the nix-gaming dependency to achieve low latency.
2023-06-22 09:51:15 -04:00
6d5365f2b3 packages: Remove osu-stable
Not needed anymore since I'd rather manage my own osu! files.
2023-06-22 09:43:29 -04:00
59eb54e1e5 nix: Remove nix-gaming cache
No longer needed since I plan to just use the wine from nixpkgs.
2023-06-22 09:32:35 -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
4aa7392350 chore: Update flake inputs 2023-06-22 09:18:39 -04:00
7a5ceee759 meta: Remove hypr-contrib
Not needed anymore since grimblast is now in my personal nixpkgs branch.
2023-06-22 09:17:03 -04:00
0c0d455a6a flake.nix: Remove variables
This configuration is specifically intended for x86_64-linux and likely
wouldn't work on aarch64-linux. Additionally, the configuration name may
be different than the hostname if desired.
2023-06-22 08:37:59 -04:00
3a6cd7e60d treefmt: Exclude hardware directory 2023-06-22 08:00:13 -04:00
ae1af336ba hyprland: Allow resizing osu! windows
It seems like all wine windows may be broken, although there doesn't
seem to be an easy way to allow the resizing of all wine windows without
affecting other windows. In practice this *shouldn't* matter much,
however.
2023-06-22 07:58:23 -04:00
3230a5ec1e meta: Use hardware directory for hardware configs
This makes it easier to auto-complete home/ and hardware/ with tab,
versus having to type 3 letters to auto-complete hosts/.
2023-06-22 07:57:00 -04:00
217e7b0f06 hardware-configuration: Undo formatting
To make life simpler, not modifying the hardware-configuration.nix in
any way makes it easier to see git diffs.
2023-06-22 07:46:54 -04:00
4083348a3b meta: Move up hardware-configuration import 2023-06-22 07:42:53 -04:00
79f4ae0296 tests: Add tests for containers and specializations 2023-06-22 07:26:19 -04:00
92f057929a meta: Flatten tests directory 2023-06-22 07:25:13 -04:00
82739571c6 waybar: Change color if fullscreen 2023-06-22 07:18:02 -04:00
3283aebbd8 modules: Add wine
Useful to remember why I set this option.
2023-06-22 07:17:01 -04:00
355e58c76e hyprland: Disable autoreload
Not needed since autoreload doesn't work anyway with home-manager.
2023-06-22 07:15:47 -04:00
71b23e9bf3 modules: Add cdemu
NixOS makes this so easy.
2023-06-22 06:55:54 -04:00
0fd8411d36 meta: Use default.nix
Makes things simpler.
2023-06-22 05:36:48 -04:00
7fb0c15255 networking: Remove allowedTCPPorts
Not needed for now, although a good reference for the future.
2023-06-21 11:43:09 -04:00
a75c20db5b containers(wine): Switch to wineWowPackages.stagingFull
wineWowPackages.stagingFull has better compatibility than waylandFull
and runs more applications without black screens. The difference between
stagingFull and wine-ge is that wine-ge doesn't crash when encountering
an error like ELFCLASS64 and usually opens windows larger and
fullscreen-like.

The reason stagingFull is preferred over wine-ge in this case is that
stagingFull is a part of nixpkgs and doesn't suffer from a black screen
bug when a hidden menu pushes the content in the window viewport down.

Additionally, although wine-ge avoids crashes in more cases, this
results in applications running that may or may not fully work, and
sometimes results in black screens where there should be graphics
instead.
2023-06-21 11:39:57 -04:00
e0f1521899 containers(wine): Use wine-ge
This was a different wine version that let me achieve better
compatibility with Unity3D programs. Although it doesn't crash when
encountering a ELFCLASS64 error, for example, it does have other issues
like a black screen flash when opening a hidden menu (the kind that
become available with the alt key on a keyboard).
2023-06-21 11:23:17 -04:00
ba686839ec meta: Remove vmware
Now that I have figured out how to get all the Windows applications I
previously used working under Wine (including those that didn't work in
the virtual machine after trying to manually install dependencies) there
is no reason for me to use vmware.

Using NixOS for Windows applications allows them to be used with
systemd-nspawn containers, thus achieving things like isolation, private
networks, impermanence, and more. All of this without having to maintain
a separate operating system install.
2023-06-21 03:44:42 -04:00
b05eecbdbf neovim: Add pkg-config
Some programs require this in order to compile successfully.
2023-06-21 03:37:07 -04:00
43186c630e locale: Fix import 2023-06-21 03:32:56 -04:00