diff --git a/flake.lock b/flake.lock index a0d3862..f0d4c0f 100644 --- a/flake.lock +++ b/flake.lock @@ -38,11 +38,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1789114715, - "narHash": "sha256-ugpsyk3NM2s87vXfUiIIiibbJ4Pp0JPS5p/3mfs+q+c=", + "lastModified": 1789344334, + "narHash": "sha256-vdhpDJ3Lr24lkZ+fDCjmBRRtw9/vcSzkqGJOJyF5h2U=", "owner": "nixos", "repo": "nixpkgs", - "rev": "21a67dc470149f337cecafbe965d8d252a390518", + "rev": "c3eea5b2156db11c7eeeada3dc737711255b253e", "type": "github" }, "original": { diff --git a/hosts/gandalf/default.nix b/hosts/gandalf/default.nix index 9d707dd..55b22a1 100644 --- a/hosts/gandalf/default.nix +++ b/hosts/gandalf/default.nix @@ -32,10 +32,9 @@ ../../modules/lazygit.nix ../../modules/yazi.nix ../../modules/cursor-cli.nix - ./mtp-fix.nix ]; - boot.kernelPackages = pkgs.linuxPackages_7_1; + # boot.kernelPackages = pkgs.linuxPackages_7_2; boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; diff --git a/hosts/gandalf/mtp-fix.nix b/hosts/gandalf/mtp-fix.nix deleted file mode 100644 index 65193e2..0000000 --- a/hosts/gandalf/mtp-fix.nix +++ /dev/null @@ -1,30 +0,0 @@ -{ pkgs, ... }: - -{ - nixpkgs.overlays = [ - ( - final: prev: - let - targetVersion = "1.1.23"; - in - { - libmtp = - if builtins.compareVersions prev.libmtp.version targetVersion >= 0 then - prev.libmtp - else - prev.libmtp.overrideAttrs (_: { - version = targetVersion; - - src = final.fetchFromGitHub { - owner = "libmtp"; - repo = "libmtp"; - rev = "v${targetVersion}"; - hash = "sha256-FlPj9PEeOAWabU11dFTzDgY9TBbgmJclbeL0iULYw6A="; - }; - - patches = [ ]; - }); - } - ) - ]; -}