Configuration for my NixOS based systems and Home Manager
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

FIX: override immich and plex

+49 -5
-1
configuration.nix
··· 16 16 ./packages.nix 17 17 ./services.nix 18 18 ]; 19 - 20 19 # Set your time zone. 21 20 time.timeZone = "America/Chicago"; 22 21
+3 -1
flake.nix
··· 49 49 devShells = forAllSystems (system: { 50 50 default = nixpkgs.legacyPackages.${system}.mkShell { 51 51 inherit (self.checks.${system}.pre-commit-check) shellHook; 52 - buildInputs = self.checks.${system}.pre-commit-check.enabledPackages; 52 + buildInputs = [ 53 + pkgs.nixfmt-rfc-style 54 + ] ++ self.checks.${system}.pre-commit-check.enabledPackages; 53 55 }; 54 56 }); 55 57 };
+1 -1
noah-home.nix
··· 137 137 138 138 services.mbsync = { 139 139 enable = true; 140 - frequency = "hourly"; 140 + frequency = "*:0/10"; 141 141 #configFile = ./mbsyncrc; 142 142 }; 143 143
+26
overrides/immich-sources.json
··· 1 + { 2 + "version": "1.137.3", 3 + "hash": "sha256-oKDIx63LayDWhd4uE16rqFWmmwwSWUsUvgZKsgE3KWg=", 4 + "components": { 5 + "cli": { 6 + "npmDepsHash": "sha256-Cjk95tsQM89LkMq6H3B5WYdYrMi3hB6d1XpN2xhHv2U=", 7 + "version": "2.2.77" 8 + }, 9 + "server": { 10 + "npmDepsHash": "sha256-CvczIXE3Z3LwZezG7kbfJqg2fak2BRXTr0op1Jo1LIg=", 11 + "version": "1.137.3" 12 + }, 13 + "web": { 14 + "npmDepsHash": "sha256-PcNgD/JFt3221Qgi54XzQZNa53iw3BUe31DM8k+nz/4=", 15 + "version": "1.137.3" 16 + }, 17 + "open-api/typescript-sdk": { 18 + "npmDepsHash": "sha256-M4ahH6ZP0E3wEgK4VLqSsNjhMFNVTMeRFdzU9EO53vE=", 19 + "version": "1.137.3" 20 + }, 21 + "geonames": { 22 + "timestamp": "20250812073904", 23 + "hash": "sha256-02ADfg5wHT1R3vu6imPP22BbT5Y5315eRGmI0mEryGc=" 24 + } 25 + } 26 + }
+18 -1
services.nix
··· 1 - { config, lib, pkgs, ... }: 1 + { config 2 + , lib 3 + , pkgs 4 + , ... 5 + }: 2 6 let 3 7 unstable = import <nixos-unstable> { 4 8 config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ 5 9 "plexmediaserver" 6 10 "teamspeak-server" 11 + ]; 12 + overlays = [ 13 + (final: prev: { 14 + plex = prev.plex.overrideAttrs (_: rec { 15 + version = "1.42.1.10060-4e8b05daf"; 16 + src = final.fetchurl { 17 + url = "https://downloads.plex.tv/plex-media-server-new/${version}/debian/plexmediaserver_${version}_amd64.deb"; 18 + sha256 = "OoItvG0IpgUKlZ0JmzDc2WqMtyZrlNCF7MCnUKqBl/Q="; 19 + }; 20 + }); 21 + immich = prev.immich.override { sourcesJSON = ./overrides/immich-sources.json; }; 22 + }) 7 23 ]; 8 24 }; 9 25 _age = import <agenix/modules/age.nix> { }; ··· 323 339 324 340 services.immich = { 325 341 enable = true; 342 + package = unstable.immich; 326 343 accelerationDevices = [ "/dev/dri/renderD128" ]; 327 344 mediaLocation = "/srv/shokuhou/pictures/immich"; 328 345 };
+1 -1
users.nix
··· 27 27 name = "chiefnoah.keys"; 28 28 # Update this with: 29 29 # `curl https://meta.sr.ht/~chiefnoah.keys | sha256sum` 30 - sha256 = "19x8lim69kd06spqxjs7ril68izrqzkgqdvn45z2vkqgkw0jjzxh"; 30 + sha256 = "0l295n3i2b1agx8xl8l12zlck35qn9vja8fgvhk4g0v4132wfzgg"; 31 31 })); 32 32 }; 33 33