From d13b5044ba650008e01d162294a93bc1f78a9bbd Mon Sep 17 00:00:00 2001 From: blahai Date: Thu, 13 Feb 2025 21:39:55 +0200 Subject: [PATCH] ;-; --- flake.lock | 8 ++++---- hosts/nyx/configuration.nix | 2 +- hosts/nyx/home.nix | 3 ++- modules/home-manager/hypr/default.nix | 6 +++--- modules/nixos/services/jellyfin.nix | 19 +++++++------------ 5 files changed, 17 insertions(+), 21 deletions(-) diff --git a/flake.lock b/flake.lock index 3e5aa45..35348ce 100644 --- a/flake.lock +++ b/flake.lock @@ -356,11 +356,11 @@ "rust-overlay": "rust-overlay" }, "locked": { - "lastModified": 1739465816, - "narHash": "sha256-XqRCZXnbfZA90Y+R46w9Tc46ZGbQ/EN2/pzxByqS5uM=", + "lastModified": 1739470114, + "narHash": "sha256-b81KYVs8xcKkvPcp6NnU+qTAJfHpdOYB8DtTWXoh0bg=", "ref": "refs/heads/main", - "rev": "85986cb3d2a0abd234a38781305e43412f30dbed", - "revCount": 58, + "rev": "d06a4b4bed4335098a757c46ad8f0310d893e980", + "revCount": 59, "type": "git", "url": "https://git.blahai.gay/blahai/haipkgs.git" }, diff --git a/hosts/nyx/configuration.nix b/hosts/nyx/configuration.nix index 155ffd2..002f7c1 100644 --- a/hosts/nyx/configuration.nix +++ b/hosts/nyx/configuration.nix @@ -111,7 +111,7 @@ }; home-manager = { - extraSpecialArgs = {inherit inputs;}; + extraSpecialArgs = {inherit inputs pkgs-smol;}; useGlobalPkgs = true; useUserPackages = true; verbose = true; diff --git a/hosts/nyx/home.nix b/hosts/nyx/home.nix index e490254..ac4dd6a 100644 --- a/hosts/nyx/home.nix +++ b/hosts/nyx/home.nix @@ -2,6 +2,7 @@ inputs, config, pkgs, + pkgs-smol, ... }: { imports = [ @@ -56,7 +57,7 @@ }; iconTheme = { name = "WhiteSur"; - package = pkgs.whitesur-icon-theme.override { + package = pkgs-smol.whitesur-icon-theme.override { boldPanelIcons = true; alternativeIcons = true; }; diff --git a/modules/home-manager/hypr/default.nix b/modules/home-manager/hypr/default.nix index 644a0c4..0739fed 100644 --- a/modules/home-manager/hypr/default.nix +++ b/modules/home-manager/hypr/default.nix @@ -2,7 +2,6 @@ pkgs, config, inputs, - lib, ... }: { imports = [ @@ -27,10 +26,11 @@ ]; xdg.configFile."hypr/xdph.conf" = { - target = ""; text = '' screencopy { - custom_picker_binary = ${pkgs.hyprland-preview-share-picker-git}/bin/result-hyprland-preview-share-picker + max_fps = 144 + custom_picker_binary = ${pkgs.hyprland-preview-share-picker-git}/bin/hyprland-preview-share-picker + allow_token_by_default = true } ''; }; diff --git a/modules/nixos/services/jellyfin.nix b/modules/nixos/services/jellyfin.nix index 9927554..ece86ab 100644 --- a/modules/nixos/services/jellyfin.nix +++ b/modules/nixos/services/jellyfin.nix @@ -13,7 +13,13 @@ enable = true; port = 5055; openFirewall = true; - package = pkgs.jellyseerr; + package = pkgs.jellyseerr.overrideAttrs (_: { + # https://github.com/NixOS/nixpkgs/pull/380532 + postBuild = '' + # Clean up broken symlinks left behind by `pnpm prune` + find node_modules -xtype l -delete + ''; + }); }; sonarr = { @@ -40,15 +46,4 @@ package = pkgs.prowlarr; }; }; - - # This bullshittery is cuz sonarr v4 still uses - # dotnet 6 which is EOL and is marked broken in - # nixpkgs but they are moving to 8 in v5 which - # will happen eventually (not anytime soon?) - nixpkgs.config.permittedInsecurePackages = [ - "aspnetcore-runtime-6.0.36" - "aspnetcore-runtime-wrapped-6.0.36" - "dotnet-sdk-6.0.428" - "dotnet-sdk-wrapped-6.0.428" - ]; }