diff --git a/flake.lock b/flake.lock index 32ec0b1..1cd45e1 100644 --- a/flake.lock +++ b/flake.lock @@ -305,22 +305,6 @@ "type": "github" } }, - "nixpkgs-stable": { - "locked": { - "lastModified": 1735563628, - "narHash": "sha256-OnSAY7XDSx7CtDoqNh8jwVwh4xNL/2HaJxGjryLWzX8=", - "owner": "nixos", - "repo": "nixpkgs", - "rev": "b134951a4c9f3c995fd7be05f3243f8ecd65d798", - "type": "github" - }, - "original": { - "owner": "nixos", - "ref": "nixos-24.05", - "repo": "nixpkgs", - "type": "github" - } - }, "root": { "inputs": { "agenix": "agenix", @@ -335,7 +319,6 @@ "nix-homebrew": "nix-homebrew", "nixos-hardware": "nixos-hardware", "nixpkgs": "nixpkgs", - "nixpkgs-stable": "nixpkgs-stable", "systems": "systems", "zx-dev": "zx-dev" } diff --git a/flake.nix b/flake.nix index b05b3a4..470af05 100644 --- a/flake.nix +++ b/flake.nix @@ -1,7 +1,6 @@ { inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; - nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-24.05"; # General systems = { diff --git a/hosts/glyph/services/torrents.nix b/hosts/glyph/services/torrents.nix index 3c3d8e9..e10f3b4 100644 --- a/hosts/glyph/services/torrents.nix +++ b/hosts/glyph/services/torrents.nix @@ -1,7 +1,6 @@ { config, pkgs, - pkgs-stable, ... }: { age.secrets.pushover-user-token = { @@ -20,7 +19,7 @@ services.transmission = { enable = true; - package = pkgs-stable.transmission_4; # TODO: 4.0.6 is prohibited on some trackers + package = pkgs.transmission_4; settings = { download-dir = "/mnt/torrents/complete"; incomplete-dir = "/mnt/torrents/incomplete"; diff --git a/lib/hosts.nix b/lib/hosts.nix index 4472327..e9667bc 100644 --- a/lib/hosts.nix +++ b/lib/hosts.nix @@ -1,7 +1,6 @@ inputs @ { self, nixpkgs, - nixpkgs-stable, agenix, home-manager, nix-darwin, @@ -22,7 +21,6 @@ inputs @ { system, showBatteryStatus, }: let - pkgs-stable = import nixpkgs-stable {inherit system;}; hostHomePath = ./../hosts/${hostname}/home.nix; hostHomeConfig = if builtins.pathExists hostHomePath @@ -40,7 +38,7 @@ inputs @ { ++ nixpkgs.lib.optionals (hostHomeConfig != null) [hostHomeConfig]; }; home-manager.extraSpecialArgs = { - inherit hostname pkgs-stable showBatteryStatus; + inherit hostname showBatteryStatus; }; }; @@ -53,7 +51,6 @@ inputs @ { inherit system; specialArgs = { inherit inputs keys username hostname; - pkgs-stable = import nixpkgs-stable {inherit system;}; }; modules = [ {environment.systemPackages = [agenix.packages.${system}.default];} @@ -85,7 +82,6 @@ inputs @ { inherit system; specialArgs = { inherit inputs self keys username hostname; - pkgs-stable = import nixpkgs-stable {inherit system;}; nixDarwin = nix-darwin; }; modules = [