Commit Graph

3639 Commits

Author SHA1 Message Date
Donovan Glover
a0acb050d0
packages(showdex): use github as source 2024-10-13 14:36:45 -04:00
Donovan Glover
2e9b8619ec
ublock-origin: drop dns modifications
Not necessary since this has now been fixed upstream.
2024-10-13 02:44:32 -04:00
Donovan Glover
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
Donovan Glover
1fc96be25c
all-the-package-names: 2.0.1669 -> 2.0.1794 2024-10-13 02:31:16 -04:00
Donovan Glover
e47dbd0551
nadesiko3: 3.6.7 -> 3.6.22 2024-10-13 02:21:53 -04:00
Donovan Glover
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
Donovan Glover
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
Donovan Glover
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
Donovan Glover
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
Donovan Glover
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
Donovan Glover
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
Donovan Glover
0238abd1e5
containers: simplify config 2024-10-11 15:13:08 -04:00
Donovan Glover
4d751d3d12
flake: use listFilesRecursive for nixosSystem modules 2024-10-11 15:02:01 -04:00
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