Personal-use NixOS configuration
0
fork

Configure Feed

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

Work on Emby

encode42 5a960d2b a3c9f37e

+38 -25
+21 -21
flake.lock
··· 41 41 "nixpkgs": "nixpkgs" 42 42 }, 43 43 "locked": { 44 - "lastModified": 1761803255, 45 - "narHash": "sha256-JOkl7jXJMyV52fG+XRcJMUsPM3AHgdNn6TMMYRFij5M=", 46 - "owner": "tofu-salad", 44 + "lastModified": 1764703790, 45 + "narHash": "sha256-9erPRLonqysossQbTD/IHILUya2pIeDg5rtUNNw9Zh4=", 46 + "owner": "encode42", 47 47 "repo": "emby-server-flake", 48 - "rev": "a8c30e4160ee9c06ff1e875cd08dfd952868a5fb", 48 + "rev": "292d8bf4199d92079cd1927c44033e50f4477e8d", 49 49 "type": "github" 50 50 }, 51 51 "original": { 52 - "owner": "tofu-salad", 52 + "owner": "encode42", 53 53 "repo": "emby-server-flake", 54 54 "type": "github" 55 55 } ··· 82 82 }, 83 83 "locked": { 84 84 "dir": "pkgs/firefox-addons", 85 - "lastModified": 1764561884, 86 - "narHash": "sha256-vQ3iFPPhxsLqV3c5kgmYP53mVD6id6gsP0tN+oTmqok=", 85 + "lastModified": 1764648280, 86 + "narHash": "sha256-xniOnxIx/qhm+maO4mb9BZ7FytcUhNeTm1Y/QBjNf8o=", 87 87 "owner": "rycee", 88 88 "repo": "nur-expressions", 89 - "rev": "aba4621459aec251d90d6452e3495b58a8a5e185", 89 + "rev": "119826bd51ad1a8012e0585f3a073571a35a812e", 90 90 "type": "gitlab" 91 91 }, 92 92 "original": { ··· 248 248 ] 249 249 }, 250 250 "locked": { 251 - "lastModified": 1764536451, 252 - "narHash": "sha256-BgtcUkBfItu9/yU14IgUaj4rYOanTOUZjUfBP20/ZB4=", 251 + "lastModified": 1764613336, 252 + "narHash": "sha256-L979az28t/+SXvYw9qhOno5HLlDwkZOpz6LzCLnjmRM=", 253 253 "owner": "nix-community", 254 254 "repo": "home-manager", 255 - "rev": "3fdd076e08049a9c7a83149b270440d9787d2df5", 255 + "rev": "f3902b5d8767985680875ad86d028371100faeb3", 256 256 "type": "github" 257 257 }, 258 258 "original": { ··· 354 354 ] 355 355 }, 356 356 "locked": { 357 - "lastModified": 1764489870, 358 - "narHash": "sha256-9OUgV/Ks1JKnjR/9nzViCCLMGvW24dlLj7RGIsgLaMc=", 357 + "lastModified": 1764691481, 358 + "narHash": "sha256-PDuy1vMJliGzUAQc9cF74E6z8S1JqTl7T8w8oALH3+8=", 359 359 "owner": "kaylorben", 360 360 "repo": "nixcord", 361 - "rev": "0d9cdbda7b32f14ae8de6cea61e81d072a2bfaba", 361 + "rev": "559b24da3604ba6a987be0649d0b74be515a60aa", 362 362 "type": "github" 363 363 }, 364 364 "original": { ··· 385 385 }, 386 386 "nixpkgs": { 387 387 "locked": { 388 - "lastModified": 1755704039, 389 - "narHash": "sha256-gKlP0LbyJ3qX0KObfIWcp5nbuHSb5EHwIvU6UcNBg2A=", 388 + "lastModified": 1764522689, 389 + "narHash": "sha256-SqUuBFjhl/kpDiVaKLQBoD8TLD+/cTUzzgVFoaHrkqY=", 390 390 "owner": "NixOS", 391 391 "repo": "nixpkgs", 392 - "rev": "9cb344e96d5b6918e94e1bca2d9f3ea1e9615545", 392 + "rev": "8bb5646e0bed5dbd3ab08c7a7cc15b75ab4e1d0f", 393 393 "type": "github" 394 394 }, 395 395 "original": { 396 396 "owner": "NixOS", 397 - "ref": "nixos-25.05", 397 + "ref": "nixos-25.11", 398 398 "repo": "nixpkgs", 399 399 "type": "github" 400 400 } ··· 432 432 }, 433 433 "nixpkgs_2": { 434 434 "locked": { 435 - "lastModified": 1764494334, 436 - "narHash": "sha256-x2xCEXUlU4Ap56+t5HaoReOQ/bV/bIQ5rzTn/m+V3HQ=", 435 + "lastModified": 1764522689, 436 + "narHash": "sha256-SqUuBFjhl/kpDiVaKLQBoD8TLD+/cTUzzgVFoaHrkqY=", 437 437 "owner": "NixOS", 438 438 "repo": "nixpkgs", 439 - "rev": "d542db745310b6929708d9abea513f3ff19b1341", 439 + "rev": "8bb5646e0bed5dbd3ab08c7a7cc15b75ab4e1d0f", 440 440 "type": "github" 441 441 }, 442 442 "original": {
+1 -1
flake.nix
··· 55 55 vpn-confinement.url = "github:Maroka-chan/VPN-Confinement"; 56 56 57 57 emby-flake = { 58 - url = "github:tofu-salad/emby-server-flake"; 58 + url = "github:encode42/emby-server-flake"; 59 59 }; 60 60 61 61 # Community-maintained package repositories
+16 -3
packages/server/media/emby.nix
··· 2 2 hosts ? [ ], 3 3 }: 4 4 5 - { flakeLib, emby-flake, ... }: 5 + { lib, flakeLib, emby-flake, ... }: 6 6 7 7 { 8 8 services.emby = { ··· 11 11 package = emby-flake.packages.x86_64-linux.default; 12 12 }; 13 13 14 - systemd.services.emby.serviceConfig = { 15 - StateDirectory = "emby"; 14 + systemd.services.emby = { 15 + environment = { 16 + VDPAU_DRIVER = "radeonsi"; 17 + LIBVA_DRIVER_NAME = "radeonsi"; 18 + }; 19 + 20 + serviceConfig = { 21 + StateDirectory = "emby"; 22 + 23 + DeviceAllow = [ "/dev/dri/card0" "/dev/dri/renderD128" ]; 24 + 25 + SystemCallFilter = lib.mkForce []; 26 + 27 + }; 16 28 }; 17 29 18 30 users.users.emby.extraGroups = [ 19 31 "media" 20 32 "render" 33 + "video" 21 34 ]; 22 35 23 36 # Caddy reverse proxy configuration