Commit Graph

3626 Commits

Author SHA1 Message Date
Donovan Glover
35e390902a
chore: simplify formatting
Ran nix fmt and used built-ins where possible.
2024-10-11 14:52:56 -04:00
Donovan Glover
c9652f1680
flake: use checks for all systems
This seems to work now, possibly fixed by using the latest Nix version.
2024-10-11 14:39:18 -04:00
Donovan Glover
14acf89052
flake: replace listToAttrs with genAttrs
Simplifies things a bit since we no longer have to use `listToAttrs`
after `map`.
2024-10-11 14:37:50 -04:00
Donovan Glover
6a31427b44
chore: simplify formatting 2024-10-11 14:29:37 -04:00
Donovan Glover
eac686339b
flake: drop usage of @attrs
Using @attrs for the flake was cool at first, but this doesn't actually
work if we want to use our nix-config inside NixOS containers due to how
`self` works.

Because of this, it's easier to simply ban @attrs altogether and use
`nix-config` for everything since it's possible to access *all* the
inputs of nix-config from itself instead of having to manually inherit
each input we want (which could be any of them).
2024-10-11 13:35:45 -04:00
Donovan Glover
469b18907e
flake: remove mobile-nixos-vm
Previously we used a mobile-nixos config without the mobile-nixos
modules to start up a QEMU virtual machine on x86_64-linux without
having to worry about cross-compiling aarch64-linux.

Although this worked, the added complexity was not ideal and the
compilation time of the kernel with emulation was definitely not
ideal (5+ hours).

Note that I *may* add this again in the future, although I'd rather
set the system to x86_64-linux and cross-compile instead, which
mobile-nixos already supports but takes a large amount of ram.
2024-10-11 13:31:32 -04:00
Donovan Glover
4f9289a35c
meta: move mobile-nixos imports out of flake
This is part of making the flake easier to understand by separating
concerns a bit more.
2024-10-11 13:15:43 -04:00
Donovan Glover
11c555d2c5
containers: merge default.nix with wine.nix
It turns out that I shouldn't actually need graphical container support
for most containers, which might also improve build times with multiple
containers.
2024-10-11 12:28:05 -04:00
Donovan Glover
f12d57c8f8
flake: add flake support for mobile-nixos 2024-10-11 11:59:38 -04:00
Donovan Glover
1aa3163acb
system(nix): keep going during builds
Prevents an issue where previously it'd be possible for a nixos-rebuild
to stop during the middle of compilation during a build failure, which
is problematic for longer builds.
2024-10-11 11:57:15 -04:00
Donovan Glover
140e61b54b
system: fix systemd-boot not applying for non-aarch64 2024-10-11 11:55:42 -04:00
Donovan Glover
8e3a8568e3
system: only emulate aarch64-linux if x86_64-linux 2024-10-10 14:24:07 -04:00
Donovan Glover
60401813e6
meta: prefer isPhone over mkForce 2024-10-10 14:21:42 -04:00
Donovan Glover
2e0693f4ce
home: add presenterm
Used for terminal-based slideshows with markdown. Wow your audience
with a cool terminal background blur effect not present in any other
mainstream tools.
2024-10-10 13:34:49 -04:00
Donovan Glover
5d5c4d7853
mime-apps: specify text/html and application/pdf
Necessary due to Chromium wanting to open these files instead.
2024-10-10 09:21:28 -04:00
Donovan Glover
e38bb2123b
fcitx: disable quickphrase
Finally, no more accidentally pressing Super+` or Super+;
2024-10-10 09:08:35 -04:00
Donovan Glover
63ddd69abf
dwm: remove unused desktop icons patch
Not that useful now that I prefer using a keybind for yazi.
2024-10-10 09:06:27 -04:00
Donovan Glover
315a87e8d2
meta: use keybind to open yazi
Seems faster, cooler, and more useful than having desktop icons.
2024-10-10 09:04:54 -04:00
Donovan Glover
8de544e718
dwm: change wallpaper with super+w 2024-10-10 08:24:33 -04:00
Donovan Glover
c6b68ca834
flake: use inherit where possible 2024-10-10 08:17:37 -04:00
Donovan Glover
e663c397a7
system: use latest nix version 2024-10-10 08:17:27 -04:00
Donovan Glover
2c2f8acb89
packages(friendlyfox): fix homepage url 2024-10-09 23:12:52 -04:00
Donovan Glover
f49a6b9b9d
flake: remove unnecessary inherit 2024-10-09 20:16:57 -04:00
Donovan Glover
2bd906c67b
flake: remove extra let-in for phoneModules
Should make this part easier to read.
2024-10-09 20:13:47 -04:00
Donovan Glover
30a1993130
flake: use forAllSystems for formatter 2024-10-09 20:10:41 -04:00
Donovan Glover
2c3d04ec90
chore: run nix fmt 2024-10-09 19:51:53 -04:00
Donovan Glover
786bbcf03a
flake: abstract nameOf for path to name conversion 2024-10-09 19:50:23 -04:00
Donovan Glover
de8791ea22
flake: remove attribute name map
Reduces complexity a bit now that we're using listFilesRecursive.
2024-10-09 19:44:41 -04:00
Donovan Glover
723c5c6f0d
flake: use listFilesRecursive for normal imports 2024-10-09 19:34:03 -04:00
Donovan Glover
bb65333491
flake: use listFilesRecursive for tests 2024-10-09 19:25:40 -04:00
Donovan Glover
c8adf93d0b
flake: use packagesFromDirectoryRecursive
https://nixos.org/manual/nixpkgs/unstable/#function-library-lib.filesystem.packagesFromDirectoryRecursive
2024-10-09 18:50:21 -04:00
Donovan Glover
421d70a3d8
packages: update osu-backgrounds
It's that time of year again.
2024-10-09 17:42:33 -04:00
Donovan Glover
575455f954
dunst: follow keyboard focus
Works on both Hyprland and dwm.
2024-10-06 15:50:38 -04:00
Donovan Glover
b491c67755
example: add stylix and fonts modules 2024-10-06 08:54:00 -04:00
Donovan Glover
4f420c6c68
packages(rucola): init at 0.4.0 2024-10-06 08:19:47 -04:00
Donovan Glover
e7abdbe912
chore: update package list
Note that deno was removed since it still fails to handle things like
Next.js with the 2.0 release candidate and I'd rather not have to deal
with all the other issues I faced while trying to use it with React.
2024-10-06 08:17:02 -04:00
Donovan Glover
978523a346
example: replace webp-thumbnailer with dunst-scripts 2024-10-06 07:30:19 -04:00
Donovan Glover
57f3f31bf9
librewolf: enable hover preview 2024-10-06 07:29:48 -04:00
Donovan Glover
0aeccadbbd
librewolf: disable overscroll 2024-10-06 07:29:34 -04:00
Donovan Glover
4a3eb2f9d9
dwm: style qt applications 2024-10-06 07:28:48 -04:00
Donovan Glover
43f7538d35
neovim: remove denols 2024-10-06 07:28:00 -04:00
Donovan Glover
80be39adfc
chore: update flake inputs 2024-10-06 07:26:19 -04:00
Donovan Glover
8f61088347
containers: Update module list
Long-term this should allow for lighter containers and possibly decrease
evaluation time.
2024-09-18 14:30:51 -04:00
Donovan Glover
4b12396bf4
chromium: Remove wayland flags
This caused a bunch of horrible to debug issues on Hyprland/Wayland such
as tab switching not working. This also broke the usage of Chromium in
non-Wayland environments like dwm.
2024-09-18 14:29:23 -04:00
Donovan Glover
a668b5b28c
dwm: Depend on dunst-scripts 2024-09-18 14:28:38 -04:00
Donovan Glover
4c50de5879
hyprland: Depend on dunst-scripts 2024-09-18 14:28:23 -04:00
Donovan Glover
2966070335
hyprland: Remove old eww keybinds 2024-09-18 14:27:49 -04:00
Donovan Glover
67cd46a843
dwm: Decrease bar sleep time 2024-09-18 14:27:20 -04:00
Donovan Glover
8164a3c0f1
eww: Drop
Removes complexity since we don't use eww in dwm.
2024-09-18 14:26:16 -04:00
Donovan Glover
c8de9b447b
chore: Update to latest nixos-unstable release
Fixes the LibreWolf DNS issue.

Note that tsserver was changed to ts_ls[1] in nvim-lspconfig. Also note
that this update may have broke Bluetooth[2], which was fixed by
removing the device and connecting it again.

[1]: https://github.com/neovim/nvim-lspconfig/pull/3232
[2]: https://github.com/blueman-project/blueman/issues/2026#issuecomment-1493106049
2024-09-17 16:19:03 -04:00