Commit Graph

3592 Commits

Author SHA1 Message Date
d044ee5a0c dwm: fix audio play/pause not working with librewolf 2024-10-13 15:12:07 -04:00
a48590feb7 packages(nadesiko3): add updateScript 2024-10-13 14:56:52 -04:00
f70f6c305d packages(showdex): add updateScript
Unfortunately it seems non-trivial to get nix-update to work with update
scripts outside of nixpkgs however I could write a script to automate
updating all packages in the future.
2024-10-13 14:39:16 -04:00
a0acb050d0 packages(showdex): use github as source 2024-10-13 14:36:45 -04:00
2e9b8619ec ublock-origin: drop dns modifications
Not necessary since this has now been fixed upstream.
2024-10-13 02:44:32 -04:00
a48a141203 ublock-origin: 1.59.0 -> 1.60.0
Also using the GitHub URL so updates work properly.
2024-10-13 02:42:54 -04:00
1fc96be25c all-the-package-names: 2.0.1669 -> 2.0.1794 2024-10-13 02:31:16 -04:00
e47dbd0551 nadesiko3: 3.6.7 -> 3.6.22 2024-10-13 02:21:53 -04:00
dc54b90302 packages(yomitan): use github as source
Fixes an issue where updates didn't actually work due to the Firefox
extension url returning the incorrect version.
2024-10-13 01:29:23 -04:00
ec3d3899b9 meta: add audio keys support with playerctl
Actually quite useful now that I've figured out how to do this properly.
2024-10-11 23:43:02 -04:00
8e5d3c77c7 containers(wine): simplify networking
It turns out that having to do the `nat` shenanigans is no longer
necessary or was never necessary to begin with.

In either case, the simplified result is much easier to work with
due to no dependency on the localAddress.
2024-10-11 16:59:13 -04:00
d7f4e3fccc containers: fix internet not working inside container
The wg-mullvad interface was at some point renamed to wg0-mullvad.

Note that in the future this method can be used to prevent certain
containers from accessing the internet in a similar way.
2024-10-11 16:55:44 -04:00
a7fad6beb9 containers: remove autostart with systemd.tmpfiles.rules
At some point this started causing the /run/user/1000 directory to be
deleted when changing container configurations, which was definitely not
ideal.

An alternative approach will have to be taken if we want the wine
container to auto-start on boot.
2024-10-11 16:46:45 -04:00
043e901711 containers: add wordpress
This is the start of my fun attempt at using NixOS containers for web
services as a Docker replacement.

After spending some time on other servers I realized that I don't
actually *need* my dotfiles on those servers, so it becomes
significantly faster to build these containers without worrying about
home-manager and command-line programs I use on the host.

Main advantages include web service configuration with Nix instead of
Docker. Disadvantages include increased complexity for anything that
isn't already maintained by others in nixpkgs.
2024-10-11 16:39:11 -04:00
0238abd1e5 containers: simplify config 2024-10-11 15:13:08 -04:00
4d751d3d12 flake: use listFilesRecursive for nixosSystem modules 2024-10-11 15:02:01 -04:00
35e390902a chore: simplify formatting
Ran nix fmt and used built-ins where possible.
2024-10-11 14:52:56 -04:00
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
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
6a31427b44 chore: simplify formatting 2024-10-11 14:29:37 -04:00
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
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
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
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
f12d57c8f8 flake: add flake support for mobile-nixos 2024-10-11 11:59:38 -04:00
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
140e61b54b system: fix systemd-boot not applying for non-aarch64 2024-10-11 11:55:42 -04:00
8e3a8568e3 system: only emulate aarch64-linux if x86_64-linux 2024-10-10 14:24:07 -04:00
60401813e6 meta: prefer isPhone over mkForce 2024-10-10 14:21:42 -04:00
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
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
e38bb2123b fcitx: disable quickphrase
Finally, no more accidentally pressing Super+` or Super+;
2024-10-10 09:08:35 -04:00
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
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
8de544e718 dwm: change wallpaper with super+w 2024-10-10 08:24:33 -04:00
c6b68ca834 flake: use inherit where possible 2024-10-10 08:17:37 -04:00
e663c397a7 system: use latest nix version 2024-10-10 08:17:27 -04:00
2c2f8acb89 packages(friendlyfox): fix homepage url 2024-10-09 23:12:52 -04:00
f49a6b9b9d flake: remove unnecessary inherit 2024-10-09 20:16:57 -04:00
2bd906c67b flake: remove extra let-in for phoneModules
Should make this part easier to read.
2024-10-09 20:13:47 -04:00
30a1993130 flake: use forAllSystems for formatter 2024-10-09 20:10:41 -04:00
2c3d04ec90 chore: run nix fmt 2024-10-09 19:51:53 -04:00
786bbcf03a flake: abstract nameOf for path to name conversion 2024-10-09 19:50:23 -04:00
de8791ea22 flake: remove attribute name map
Reduces complexity a bit now that we're using listFilesRecursive.
2024-10-09 19:44:41 -04:00
723c5c6f0d flake: use listFilesRecursive for normal imports 2024-10-09 19:34:03 -04:00
bb65333491 flake: use listFilesRecursive for tests 2024-10-09 19:25:40 -04:00
c8adf93d0b flake: use packagesFromDirectoryRecursive
https://nixos.org/manual/nixpkgs/unstable/#function-library-lib.filesystem.packagesFromDirectoryRecursive
2024-10-09 18:50:21 -04:00
421d70a3d8 packages: update osu-backgrounds
It's that time of year again.
2024-10-09 17:42:33 -04:00
575455f954 dunst: follow keyboard focus
Works on both Hyprland and dwm.
2024-10-06 15:50:38 -04:00
b491c67755 example: add stylix and fonts modules 2024-10-06 08:54:00 -04:00