Commit Graph

122 Commits

Author SHA1 Message Date
Eli Ribble 381afda4e9 Add signal desktop for chatting with Ben 2024-10-05 18:30:59 -07:00
Eli Ribble e36589dcb8 Add some dev tools 2024-10-05 18:30:59 -07:00
Eli Ribble ebfa4d6aab Add bluemail for, y'know, email 2024-10-05 18:30:59 -07:00
Eli Ribble 94a23f3806 Add pihole IP address 2024-10-05 18:30:59 -07:00
Eli Ribble 38e29dec5f Switch to hand-crafted steam autostart
Using the actual steam.desktop starts up the default steam mode, not big
picture, which is what I want. I pulled this content from the
steam.desktop file, so it may need to get adjusted in the far future.
2024-09-25 19:10:27 +00:00
Eli Ribble 285f461117 Don't turn on bluetooth on boot.
I'm having problems with the bluetooth working correctly when it starts,
so instead I'm going to keep it off and try to manually manage it until
I know what the process for getting it live.
2024-09-25 19:09:40 +00:00
Eli Ribble 8021cd05cc Add steam.desktop content to the autostart files 2024-09-25 17:26:15 +00:00
Eli Ribble 1fd99ce8f7 Get a working home-manager config.
It doesn't do what I want yet though.
2024-09-25 14:24:20 +00:00
Eli Ribble 77f24c597b Add htop
So I can see what is making this device seem so darned slow.
2024-09-24 22:11:09 +00:00
Eli Ribble 41e862ddf8 Make bluetooth with game pad work.
The ERTM is some bluetooth protocol extension. When enabled the
bluetooth scan can't find my Stadia controllers.
2024-09-24 22:10:38 +00:00
Eli Ribble beb52e86a1 Add gnome desktop.
Now I can actually log in!
2024-09-24 22:10:22 +00:00
Eli Ribble 4c186b41f6 Switch back to network manager
It can do wifi just fine.
2024-09-24 22:09:59 +00:00
Eli Ribble 34b92a6053 First attempt at bluetooth and autologin with Steam overlay.
Haven't tested it yet, may or may not work.
2024-09-24 02:17:00 +00:00
Eli Ribble 967812fe61 Install steam. 2024-09-24 00:29:20 +00:00
Eli Ribble eabe5cb36c Add fish, chezmoi, set the best editor 2024-09-24 00:24:37 +00:00
Eli Ribble 1e9077dc0e Initial add of eshu configuration.
It's going to be a gaming computer. Maybe. If it has enough oomph
2024-09-24 00:12:29 +00:00
Eli Ribble 46dbe52b16 Add podman-service unit
This enables the service for binding to podman over a socket which is in
turn used by Tealok for managing the services on the server.
2024-09-21 10:39:58 -07:00
Eli Ribble 2caa4810fd Re-remove avahi.
Turns out resolved can do it all. Tested from another machine with:

resolvectl --cache=no query quinn.local
2024-08-29 18:07:31 -07:00
Eli Ribble 601129bb48 Get mDNS through avahi and resolved working.
First off, we need port 5353 because that's where mDNS does its thing.
It's like DNS and port 53, but doubled, right?

Next, we have to enable MulticastDNS for the network in question,
specifically the "wan" interface.

Finally, we add avahi which ... does... stuff.
2024-08-29 18:02:04 -07:00
Eli Ribble ce5b4fd7d6 Clean up unifi packages
I'm not reinstalling these in this way. Ever.
2024-08-29 17:53:08 -07:00
Eli Ribble 7140f464af Remove unnecessary ipvlan experiment 2024-08-21 14:46:43 -07:00
Eli Ribble 880fe6a7a1 Checkpoint for working container addresses.
At this point I have a working system that hands out container IPv6
addresses that I can, at least, _ping_ from outside the LAN. I can't yet
get HTTP traffic.
2024-08-21 12:18:47 -07:00
Eli Ribble 574f9f7d83 Enable IPv6-level forwarding.
I think I need this, but I'm not sure.
2024-08-21 12:18:01 -07:00
Eli Ribble 803ab7bd47 Add section to get a container vlan net device.
It's not working or useful yet, but I think it's moving in that
direction.
2024-08-21 09:30:47 -07:00
Eli Ribble 2eff5cef0a Add ndisc6 for debugging ipv6 via rdisc6 2024-08-21 09:30:23 -07:00
Eli Ribble 0a9f1c5799 Add Google DNS resolution
This is a failsafe for when the Pihole is down, like now while I'm
developing its configuration.
2024-08-19 09:16:24 -07:00
Eli Ribble f44f8346f4 Get pihole listening on the local IPv4 and IPv6 addresses.
I'm not sure if the defaultNetwork subnet changes are necessary, I was trying
lots of stuff. There are some whitespace changes as well, don't get
distracted by them.

Most critically the --network=bridge is and the dns_enabled=false avoid
starting the aardvark-dns thing that podman does for internal dns on
port 53 and make it so the container gets the IPv6 address for listening
to incoming requests.
2024-08-16 17:49:32 -07:00
Eli Ribble c953a3b798 Add static local IPv6 address.
This gives me something that the router can point to for DNS resolution
for other devices on the network.
2024-08-16 17:48:20 -07:00
Eli Ribble 5848437e3f Disable the stub resolved listener.
I want pihole to bind all available addresses itself, without listing
them, so I need all the port 53s to be free on all addresses. This will
also mean that the server itself will go through pihole.
2024-08-16 17:47:25 -07:00
Eli Ribble 5bed23c073 Add lsof.
Useful tool to check what is using port 53.
2024-08-16 17:47:09 -07:00
Eli Ribble 5e9e93361a Remove the unnecessary network config options.
Turns out my router advertises enough to do the right thing without
this.
2024-08-16 16:35:49 -07:00
Eli Ribble 67cee9d1f3 Quick checkpoint of work on networking.
It cost about 2 hours to figure this out from reading the networkd.nix
definition. It doesn't actually do what I need it to do, however,
because I misunderstood what I need. Still though, I want to save it
since it was so hard-earned.
2024-08-16 16:30:53 -07:00
Eli Ribble 73c9593bfe Switch to systemd.networkd for network config.
Turns out the other method, the default method, is a series of bash
scripts (?). That's according to online documentation. By switching to
using networkd I can get proper declarative network configuration. With
this config I'm getting an IPv6 address from my router that is globally
routable, and another address that is static that I can let the router
configure for users of the local network to reach the pihole for IPv6.
2024-08-15 21:34:13 -07:00
Eli Ribble e2ff975a7c Enable mosh.
Mosh gives me the ability to deal with the fact that my connection over
my own wifi is dropping packets for up to 10 seconds at a time.
2024-08-15 21:31:37 -07:00
Eli Ribble 6271f38fff Add failed attempt at static IPv6 address.
I feel like I'm close, but this doesn't work.
The problem is when I add this no IPv6 requests can route, in or out.
2024-08-15 14:46:40 -07:00
Eli Ribble db5549cff7 Add a simple systemd unit for running the scan uploader
I've manually redacted the api key until I can figure out a solution
that I like for keeping the key out of the configuration itself.

This depends a great deal on setting up the source code in the right
place and the right way. Specifically cloning the repository to
/opt/src/scan-uploader, creating a virtual environment at
/opt/src/scan-uploader/ve and installing the package with `pip install
-e .` such that the `scan-uploader` entrypoint is properly created.
2024-07-31 17:33:53 -07:00
Eli Ribble f9fe2379f4 Add the poetry package.
Useful for developing Python code
2024-07-31 13:04:03 -07:00
Eli Ribble 777ec57f69 Add eliribble to the scanner group
Makes it easier to cleanup scans
2024-07-31 13:03:48 -07:00
Eli Ribble 8523f092d0 Set the correct timezone
Useful for setting the date and time of an upload.
2024-07-31 13:03:23 -07:00
Eli Ribble deb6c42c64 Simplify samba, make it work.
There's various things I did wrong in the first setup, but that's okay
since I was just copying from the wiki to understand how to get things
started. I could never get smbclient to connect to any of these shares
for any users.

Rather, I'm using this minimalist configuration from the samba project
itself, and I can connect to it, so long as the directory is created and
belongs to the correct group. Which it does now.

Hat tip to https://discourse.nixos.org/t/nixos-configuration-for-samba/17079
for the guidance.
2024-07-31 17:31:17 +00:00
Eli Ribble 7970d9f911 Allow pings to ensure the home is up.
Just convenient, not that unsafe.
2024-07-31 17:06:25 +00:00
Eli Ribble 4dd10a99a1 Add resolution for this server to itself.
Within my home networks home.arpa resolves to DNS for the home domain.
From there the pihole service will provide DNS for all the connected
clients and custom service names.
2024-07-31 17:05:26 +00:00
Eli Ribble 6763a973a0 Add basic Samba config for the scanner
This allows the scanner to log into samba with its own username and
password.
2024-07-31 17:04:56 +00:00
Eli Ribble b31ab6e7ca Move pihole to the RFC-based home.arpa domain 2024-07-22 19:49:22 +00:00
Eli Ribble 82dfc79b64 Open necessary firewall ports for serving web requests 2024-07-22 19:49:22 +00:00
Eli Ribble 9030577f20 Add support for StepCA for certificates 2024-07-22 19:49:22 +00:00
Eli Ribble 4b2058091b Add nginx, with basic config for pihole.
This probably should be reworked so it has a better structure, but this
will work for a first pass.
2024-07-22 19:49:22 +00:00
Eli Ribble a818c22412 Add pihole to NixOS, using NixOS container specifiers 2024-07-22 19:49:22 +00:00
Eli Ribble 2d76497a03 Add working pihole container
At least, it responds to DNS requests
2024-07-22 19:49:22 +00:00
Eli Ribble 0302155566 Add dig for debugging the pihole dns 2024-07-22 19:49:22 +00:00