Skip to content

Commit

Permalink
chore(nix): remove nixpkgs-legacy
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenhoenle committed Nov 8, 2024
1 parent 9ae471f commit c08c67a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 24 deletions.
17 changes: 0 additions & 17 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 1 addition & 7 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
nixpkgs-legacy.url = "github:NixOS/nixpkgs/nixos-23.11";
nixpkgs-unstable.url = "nixpkgs/nixos-unstable";
nixos-hardware.url = "github:NixOS/nixos-hardware/master";

Expand All @@ -20,16 +19,12 @@
};
};

outputs = { self, nixpkgs, nixpkgs-legacy, nixpkgs-unstable, agenix, treefmt-nix, nixos-hardware, ... }:
outputs = { self, nixpkgs, nixpkgs-unstable, agenix, treefmt-nix, nixos-hardware, ... }:
let
pkgs = system: import nixpkgs {
inherit system;
config = { allowUnfree = true; };
};
pkgs-legacy = system: import nixpkgs-legacy {
inherit system;
config = { allowUnfree = true; };
};
pkgs-unstable = system: import nixpkgs-unstable {
inherit system;
config = { allowUnfree = true; };
Expand All @@ -51,7 +46,6 @@
system = host.system;
pkgs = (pkgs host.system);
specialArgs = {
pkgs-legacy = pkgs-legacy host.system;
pkgs-unstable = pkgs-unstable host.system;
};
modules = [
Expand Down

0 comments on commit c08c67a

Please sign in to comment.