Commit Graph

675 Commits

Author SHA1 Message Date
Donovan Glover
9ad246031f
chore: update to latest nixos-unstable release
Also updates home-manager.
2025-01-28 07:42:36 -05:00
Donovan Glover
8abd8444f0
chore: revert function spacing
It turns out that no extra line is used when the function definition
isn't at the beginning of the file.
2025-01-27 13:29:25 -05:00
Donovan Glover
421d0a1b03
containers: drop privateNetwork
At some point this broke and I haven't been able to find any leads on
why it broke, so the container now has access to host networking.
2025-01-27 11:22:15 -05:00
Donovan Glover
de6685fe5f
meta: move phone config out of nix-config
I originally thought a monorepo was the way to go here and, although it
worked, I do want to keep this config as simple as possible for people
that just want to see how to set up Hyprland/dwm on NixOS.

For those curious in running NixOS on a phone specifically, there will
soon be a separate mobile-config repository that should make learning
from it easier.
2025-01-26 07:48:08 -05:00
Donovan Glover
fadfe4d450
packages: add exiftool / xsubfind3r 2025-01-10 18:02:41 -05:00
Donovan Glover
0e5dfd9f14
chore: update to latest nixos-unstable release
Removed rmlint due to a build failure.
2025-01-10 02:06:50 -05:00
Donovan Glover
ecef6c094c
chore: improve spacing 2024-12-22 09:00:14 -05:00
Donovan Glover
27ab5dc25a
modules: add caddy / docker 2024-12-20 08:00:51 -05:00
Donovan Glover
ed83941bbe
system: allow ports 80 and 443 2024-12-18 12:53:28 -05:00
Donovan Glover
4f1cde5571
librewolf: install firefox extensions globally
Reduces complexity since we no longer have to manually update each
package from a non-firefox source.

Requires internet connectivity at runtime but should ensure that the
extensions are always up to date.
2024-12-16 18:14:57 -05:00
Donovan Glover
ec1e48b793
chore: improve formatting 2024-12-15 19:10:31 -05:00
Donovan Glover
26365c84a2
chore: update package list 2024-12-10 21:49:04 -05:00
Donovan Glover
9cd0939369
chore: update flake inputs 2024-12-08 20:22:21 -05:00
Donovan Glover
6de52cc0c6
system: add udev rule for numen 2024-12-04 20:30:56 -05:00
Donovan Glover
309c8079e8
packages: use aleo-fonts from nixpkgs 2024-11-26 20:11:39 -05:00
Donovan Glover
371fde43fb
chore: update to latest nixos-unstable release 2024-11-20 16:47:46 -05:00
Donovan Glover
26ac16c723
fcitx5-mozc: fix build 2024-11-18 02:53:02 -05:00
Donovan Glover
832543c289
desktop: replace anki-bin with anki
anki-bin is no longer needed since the build is now fixed.
2024-11-16 22:48:49 -05:00
Donovan Glover
477cac53a2
containers: let sakaya handle locale / timezone
Simplifies things a bit and makes things more flexible.
2024-11-07 19:25:30 -05:00
Donovan Glover
13ca374170
system: use latest kernel version
Fixes `npm ci` hanging.

See: https://lore.kernel.org/io-uring/2024110620-stretch-custodian-0e7d@gregkh/T/#u
2024-11-06 13:01:51 -05:00
Donovan Glover
43dee0d1ec
system: drop postgres
These days I'm no longer interested in the time commitment required for
maintaining postgres for fun.
2024-11-01 19:03:15 -04:00
Donovan Glover
125dea6b30
containers(wordpress): drop
This was a cool experiment however I no longer have a need for the
WordPress container.
2024-11-01 16:26:25 -04:00
Donovan Glover
2a3b5500c5
packages: replace bluetui with nixpkgs version 2024-10-27 01:11:20 -04:00
Donovan Glover
3140708973
containers(wine): handle graphical variables with sakaya 2024-10-23 00:27:24 -04:00
Donovan Glover
6096911759
containers(wine): remove unused fcitx variables
This doesn't seem to be needed inside the container since the host fcitx
is used.
2024-10-22 15:52:09 -04:00
Donovan Glover
4c45006c76
containers(wine): remove unused wayland session variables 2024-10-22 15:39:30 -04:00
Donovan Glover
248e8392fb
containers(wine): use sakaya module from flake 2024-10-22 03:19:42 -04:00
Donovan Glover
9504beec01
containers(wine): remove useless systemPackage 2024-10-22 01:40:41 -04:00
Donovan Glover
d0c7374864
containers(wine): simplify 2024-10-22 01:40:08 -04:00
Donovan Glover
29045a2c55
shell: add gcc
Unfortunately this is necessary for Rust and the convenience of having
Rust compilation just work outweighs excluding gcc from our $PATH.
2024-10-22 00:57:14 -04:00
Donovan Glover
049040f1e0
meta: move container configs into containers module
This is part of making the config easier to understand for users by only
having directories that directly map to flake outputs.

This also simplifies using the config a bit since it's possible to
remove containers entirely by simply deleting the containers.nix file.
2024-10-22 00:54:18 -04:00
Donovan Glover
5db3da85a3
blueman: drop
Not needed with bluetui.
2024-10-15 21:36:37 -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
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
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
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
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
e663c397a7
system: use latest nix version 2024-10-10 08:17:27 -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
c23d476f78
meta: Move fonts out of desktop 2024-09-10 12:54:17 -04:00
Donovan Glover
065c987dff
meta: Move stylix out of desktop
Makes it easier to use stylix without depending on other parts of the
desktop. Mainly useful for using stylix with the phone module without
including desktop-related stuff.
2024-09-10 12:53:32 -04:00
Donovan Glover
5465e572f4
nix: Downgrade from nix 2.24.4 to 2.22.3
https://github.com/NixOS/nix/security/advisories/GHSA-h4vv-h3jq-v493
2024-09-10 11:39:47 -04:00
Donovan Glover
4495459229
meta: Move sakaya to containers module 2024-09-09 23:08:01 -04:00
Donovan Glover
7393e7c0d6
chore: Simplify
- Removed unused conditional
- Changed `attrValues` to `with` where possible
2024-09-09 13:25:18 -04:00