Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.

1 change: 0 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-24.05";

# General
systems = {
Expand Down
3 changes: 1 addition & 2 deletions hosts/glyph/services/torrents.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
config,
pkgs,
pkgs-stable,
...
}: {
age.secrets.pushover-user-token = {
Expand All @@ -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";
Expand Down
6 changes: 1 addition & 5 deletions lib/hosts.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
inputs @ {
self,
nixpkgs,
nixpkgs-stable,
agenix,
home-manager,
nix-darwin,
Expand All @@ -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
Expand All @@ -40,7 +38,7 @@ inputs @ {
++ nixpkgs.lib.optionals (hostHomeConfig != null) [hostHomeConfig];
};
home-manager.extraSpecialArgs = {
inherit hostname pkgs-stable showBatteryStatus;
inherit hostname showBatteryStatus;
};
};

Expand All @@ -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];}
Expand Down Expand Up @@ -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 = [
Expand Down