Commit Graph

121 Commits

Author SHA1 Message Date
zuckerberg dd4a5729d4 Workaround for broken librespot spotify api integration
Check Flake / check-flake (push) Successful in 4m49s
2025-08-10 15:18:29 -07:00
zuckerberg f248c129c8 Open port 8095 for music assistant too 2025-08-10 15:17:52 -07:00
zuckerberg c011faab18 Use flaresolverr with linkwarden 2025-08-10 15:17:27 -07:00
zuckerberg dbde2a40f2 Add linkwarden 2025-08-05 19:42:29 -07:00
zuckerberg 6c69d82156 Add support for Home Assistant voice (whisper + piper + cloud llm) and Music Assistant via Spotify by librespot
Music assistant has custom modifications they made to librespot that they haven't bothered to even try to upstream.
Thus, they require a custom librespot.  I tried and tried and tried and tried to just override the one already in nixpkgs
but I had trouble doing so despite copying the pattern already shown in nixpkgs for overriding the src of a cargo pkg
(See mopidy) but it just didn't work... Oh well. So I just patch nixpkgs instead with the new source. It works I guess.

This is about where I gave up...

```nix
nixpkgs.overlays = [
  (final: prev: {
    # Cannot use librespot upstream because music-assistant requires custom changes
    # that they never bothered to even try to uptream
    librespot = prev.librespot.overrideAttrs (oldAttrs: rec {
      src = prev.fetchFromGitHub {
        owner = "music-assistant";
        repo = "librespot";
        rev = "786cc46199e583f304a84c786acb0a9b37bc3fbd";
        sha256 = "sha256-xaOrqC8yCjF23Tz31RD3CzqZ3xxrDM6ncW1yoovEaGQ=";
      };

      cargoDeps = oldAttrs.cargoDeps.overrideAttrs (oldAttrs': {
        vendorStaging = oldAttrs'.vendorStaging.overrideAttrs {
          outputHash = "sha256-SqvJSHkyd1IicT6c4pE96dBJNNodULhpyG14HRGVWCk=";
        };
      });
    });
  })
];
```
2025-08-05 19:37:50 -07:00
zuckerberg 01b01f06b4 Stop using systemd-networkd it has some flaws with NixOS' networking I need to figure out later.
It is very elegant, easy to debug/understand, and I definitely want to use it but The most significant
problem is it doesn't work with NixOS containers private networking.  So I'll need to figure that out
or maybe it will be fixed upstream soon.
2025-08-05 19:27:29 -07:00
zuckerberg dc02438a63 Finally a fix DHCP+VLANs thanks to systemd-networkd
Check Flake / check-flake (push) Successful in 3m31s
2025-07-22 21:20:12 -07:00
zuckerberg e234577268 Disable inactive cache push experiment 2025-07-16 22:00:11 -07:00
zuckerberg f4e40955c8 Use upstreamed pcie coral and vaapi frigate configuration
Check Flake / check-flake (push) Successful in 12m12s
2025-07-13 18:04:36 -07:00
zuckerberg 2faea9d380 Update nixpkgs and other flake inputs 2025-07-13 17:52:08 -07:00
zuckerberg 131d5e9313 Add rest command for home assistant 2025-07-12 10:50:37 -07:00
zuckerberg fe0ce3a245 Get recyclarr initially running 2025-07-12 10:48:13 -07:00
zuckerberg 1c9fa418b3 Make s0 easier to unlock
Check Flake / check-flake (push) Successful in 1m25s
2025-03-29 22:52:00 -07:00
zuckerberg 1f9fbd87ac Use upstream pykms and Actual Budget. Move Actual to s0. Add automated backups for Actual.
Check Flake / check-flake (push) Successful in 1m37s
2025-03-29 18:36:13 -07:00
zuckerberg 75ae399b5a Update nixpkgs. Move to new dashy service 2025-03-28 21:05:37 -07:00
zuckerberg adc9b9f2b7 Add sandman.s0.neet.dev 2025-03-28 19:39:59 -07:00
zuckerberg 34f1edf3b3 Fix s0 setting the incorrect default route by using a static configuration 2025-02-17 12:11:52 -08:00
zuckerberg 823f0a6ef2 Disable frigate detect for now. It is using excessive CPU 2025-02-17 12:10:59 -08:00
zuckerberg eb6a50664c Upgrade NixOS. Use upstream libedgetpu, frigate, and gasket kernel module. Fix services broken by upgrade.
Check Flake / check-flake (push) Successful in 17m43s
2024-11-19 21:28:56 -08:00
zuckerberg 020689d987 Fix zigbee2mqtt auth 2024-10-27 16:40:47 -07:00
zuckerberg 9109e356bd Backup vikunja
Check Flake / check-flake (push) Successful in 2m6s
2024-10-27 16:26:32 -07:00
zuckerberg c7d9e84f73 Lock down access to mqtt
Check Flake / check-flake (push) Successful in 1m6s
2024-10-27 16:15:23 -07:00
zuckerberg 1e25d8bb71 Add vikunja
Check Flake / check-flake (push) Has been cancelled
2024-10-10 20:02:43 -07:00
zuckerberg ac1cf1c531 Open up mqtt for valetudo 2024-10-10 20:02:09 -07:00
zuckerberg e56271b2c3 Add reverse proxy for valetudo
Check Flake / check-flake (push) Successful in 1m6s
2024-10-06 19:16:05 -06:00
zuckerberg f9ef5e4b89 Clean up 2024-10-06 17:15:25 -06:00
zuckerberg e516bd87b5 Fix VLANs 2024-10-06 17:11:58 -06:00
zuckerberg 66bfc62566 Refactor frigate config to add a bunch of features
Check Flake / check-flake (push) Successful in 2h20m26s
- Enable vaapi GPU video encode/decode support
- Use go2rtc. This allows for watching high resolution camera feeds
- Split nix config into pieces that are easier to understand
- Add utilities for easily adding new cameras in the future
- misc changes
2024-06-30 12:49:26 -06:00
zuckerberg 91874b9d53 Move frigate into it's own config file 2024-06-30 07:42:23 -06:00
zuckerberg 50fc0a53d2 Enable more hass integrations 2024-06-29 10:13:46 -06:00
zuckerberg 0b3322afda First VLAN camera in frigate 2024-06-29 10:13:03 -06:00
zuckerberg b32f6fa315 Enable memtest86 2024-06-29 10:12:11 -06:00
zuckerberg fe41ffc788 Allow s0 to access VLANs 2024-06-29 10:11:34 -06:00
zuckerberg eac443f280 Fix home assisstant
Check Flake / check-flake (push) Successful in 1m7s
2024-06-21 23:26:30 -06:00
zuckerberg d557820d6c Lockdown intranet services behind tailscale 2024-06-21 21:04:49 -06:00
zuckerberg 588e94dcf4 Update to NixOS 24.05
Check Flake / check-flake (push) Successful in 1m11s
2024-06-02 21:12:07 -06:00
zuckerberg 74e41de9d6 Enable unify v8 service
Check Flake / check-flake (push) Successful in 56s
2024-05-26 17:24:46 -06:00
zuckerberg b482a8c106 Restore frigate functionality by reverting to an older tensorflow version for libedgetpu 2024-05-26 17:16:59 -06:00
zuckerberg 1dfd7bc8a2 Increase seed ratio
Check Flake / check-flake (push) Successful in 2m58s
2024-02-03 14:15:49 -07:00
zuckerberg e34752c791 Fix transmission running in a container
https://github.com/NixOS/nixpkgs/issues/258793
2024-02-03 14:10:35 -07:00
zuckerberg 932b05a42e Basic oauth proxy for frigate
Check Flake / check-flake (push) Successful in 1m13s
2024-01-30 22:12:18 -07:00
zuckerberg b5cc4d4609 Emulate ARM systems for building 2024-01-30 21:59:09 -07:00
zuckerberg ba3d15d82a PoC: Frigate + PCIe Coral + ESPCam, Home Assistant, ESPHome, MQTT, zigbee2mqtt
Check Flake / check-flake (push) Successful in 3m24s
2023-12-17 21:29:45 -07:00
zuckerberg e80fb7b3db PoC: Frigate + PCIe Coral + ESPCam, Home Assistant, ESPHome, MQTT, zigbee2mqtt
Check Flake / check-flake (push) Failing after 1m1s
2023-12-17 14:29:45 -07:00
zuckerberg c4847bd39b Use dashy for services homepage
Check Flake / check-flake (push) Successful in 5m25s
2023-11-08 21:35:10 -07:00
zuckerberg 8dfba8646c Fix CI builder
Check Flake / check-flake (push) Successful in 1m5s
2023-10-20 19:52:33 -06:00
zuckerberg 63c0f52955 s0: use eth1
Check Flake / check-flake (push) Failing after 9s
2023-10-16 20:21:00 -06:00
zuckerberg 5413a8e7db Remove mounts that fail. These never worked 2023-10-16 20:20:32 -06:00
zuckerberg 52ed25f1b9 Push derivations built during nix flake check to binary cache
Check Flake / check-flake (push) Failing after 1m17s
2023-10-15 18:00:38 -06:00
zuckerberg 0446d18712 Use official nixos module for gitea actions runner 2023-10-15 17:58:03 -06:00