diff --git a/flake.lock b/flake.lock index 7d40f8e..6a86d0d 100644 --- a/flake.lock +++ b/flake.lock @@ -662,6 +662,22 @@ "type": "github" } }, + "nixpkgs-legacy_2405": { + "locked": { + "lastModified": 1718208800, + "narHash": "sha256-US1tAChvPxT52RV8GksWZS415tTS7PV42KTc2PNDBmc=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "cc54fb41d13736e92229c21627ea4f22199fee6b", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixos-24.05", + "repo": "nixpkgs", + "type": "github" + } + }, "nixpkgs-lib": { "locked": { "lastModified": 1717284937, @@ -904,6 +920,7 @@ "nixpkgs": "nixpkgs_5", "nixpkgs-legacy_2211": "nixpkgs-legacy_2211", "nixpkgs-legacy_2311": "nixpkgs-legacy_2311", + "nixpkgs-legacy_2405": "nixpkgs-legacy_2405", "overviewer": "overviewer", "permown": "permown", "polygon-art": "polygon-art", diff --git a/flake.nix b/flake.nix index fd17f86..c1cd105 100644 --- a/flake.nix +++ b/flake.nix @@ -24,6 +24,7 @@ nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; nixpkgs-legacy_2211.url = "github:nixos/nixpkgs/nixos-22.11"; nixpkgs-legacy_2311.url = "github:nixos/nixpkgs/nixos-23.11"; + nixpkgs-legacy_2405.url = "github:nixos/nixpkgs/nixos-24.05"; nixos-hardware.url = "github:nixos/nixos-hardware"; nixos-anywhere.url = "github:nix-community/nixos-anywhere"; @@ -109,6 +110,7 @@ , nixpkgs , nixpkgs-legacy_2211 , nixpkgs-legacy_2311 + , nixpkgs-legacy_2405 , overviewer , permown , polygon-art @@ -147,6 +149,10 @@ inherit system; config.allowUnfree = true; }; + legacy_2405 = import nixpkgs-legacy_2405 { + inherit system; + config.allowUnfree = true; + }; polygon-art = polygon-art.packages.${system}; landingpage = landingpage.packages.${system}.plain; kmonad = kmonad.packages.${system}.kmonad; diff --git a/homes/common/terminal.nix b/homes/common/terminal.nix index 7281690..337b473 100644 --- a/homes/common/terminal.nix +++ b/homes/common/terminal.nix @@ -37,7 +37,7 @@ enableBashIntegration = true; enableZshIntegration = true; #package = pkgs.atuin; - package = pkgs.atuin.overrideAttrs (_old: { + package = pkgs.legacy_2405.atuin.overrideAttrs (_old: { # as cursed as doing mitigations=off in the kernel command line patches = [ "${assets}/0001-make-atuin-on-zfs-fast-again.patch" ]; }); diff --git a/machines/chungus/service-atuin.nix b/machines/chungus/service-atuin.nix index fc33c6c..e4695ee 100644 --- a/machines/chungus/service-atuin.nix +++ b/machines/chungus/service-atuin.nix @@ -1,7 +1,7 @@ { config, pkgs, assets, ... }: { services.atuin = { enable = true; - package = pkgs.atuin.overrideAttrs (_old: { + package = pkgs.legacy_2405.atuin.overrideAttrs (_old: { # as cursed as doing mitigations=off in the kernel command line patches = [ "${assets}/0001-make-atuin-on-zfs-fast-again.patch" ]; });