From 37f71c496d816aa42f7cf1c7a8924e3914533740 Mon Sep 17 00:00:00 2001 From: sils Date: Thu, 15 Feb 2024 20:01:06 +0100 Subject: fix: update mastodon This uses the mastodon package from nixos-unstable-small because backporting of a security release failed and we can't afford to wait. --- flake.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 4956365..a8812c8 100644 --- a/flake.nix +++ b/flake.nix @@ -3,6 +3,7 @@ inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11-small"; + nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable-small"; # inputs for following systems = { @@ -77,6 +78,7 @@ outputs = { self, nixpkgs, + nixpkgs-unstable, # modules simple-nixos-mailserver, impermanence, @@ -89,10 +91,13 @@ } @ attrs: let system = "x86_64-linux"; pkgs = nixpkgs.legacyPackages.${system}; + pkgs-unstable = nixpkgs-unstable.legacyPackages.${system}; in { nixosConfigurations."server1" = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; - specialArgs = attrs; + specialArgs = attrs // { + inherit pkgs-unstable; + }; modules = [ ./hosts/server1/configuration.nix simple-nixos-mailserver.nixosModule -- cgit 1.4.1