Commit Graph

3601 Commits

Author SHA1 Message Date
Donovan Glover
054a4bc77d
chore: fix unused variable for nixf-tidy 2024-10-15 16:55:00 -04:00
Donovan Glover
ea5c3c5f5a
desktop: fix anki-bin not being available on aarch64-linux 2024-10-15 16:54:15 -04:00
Donovan Glover
f2b703d7d9
neovim: fix encoding issue with nixd 2024-10-15 16:47:31 -04:00
Donovan Glover
bbfd32df5b
chore: update to latest nixos-unstable release
Note that anki was changed to anki-bin due to a pyqt6 error currently in
nixpkgs.
2024-10-15 15:03:43 -04:00
Donovan Glover
4d90d5cbf0
qutebrowser: drop
No real reason to use qutebrowser now that I've written new-tab-identity
and have LibreWolf programmed declaratively.

The additional complexity of having another browser installed meant that
I had to deal with a pyqt6 build error for an application I rarely used
for a number of reasons (no https by default etc.)
2024-10-15 15:02:59 -04:00
Donovan Glover
54b018aa22
fish(epub2pdf): drop
Rarely used this and the dependency on calibre was causing build issues
due to its dependency on pyqt6.
2024-10-15 14:34:26 -04:00
Donovan Glover
1f85bd4ec7
neovim: remove useless tabstop/shiftwidth
These are handled by editorconfig.
2024-10-13 17:55:59 -04:00
Donovan Glover
911547d78c
editorconfig: add back indent_size rules
Actually necessary to prevent indent lines from occasionally showing up
as 2 instead of 4. Also fixes shiftwidth.
2024-10-13 17:42:15 -04:00
Donovan Glover
086b21c312
editorconfig: do trim trailing whitespace
Should be okay to have this as default now that autosave is delayed a
bit.
2024-10-13 17:41:21 -04:00
Donovan Glover
d044ee5a0c
dwm: fix audio play/pause not working with librewolf 2024-10-13 15:12:07 -04:00
Donovan Glover
a48590feb7
packages(nadesiko3): add updateScript 2024-10-13 14:56:52 -04:00
Donovan Glover
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
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