From b90ce48b6136a911cee7344d935b7290ef95e4dd Mon Sep 17 00:00:00 2001 From: truxnell <19149206+truxnell@users.noreply.github.com> Date: Wed, 24 Apr 2024 12:41:32 +1000 Subject: [PATCH] fix: fix --- flyio/vaultwarden/flake.nix | 37 ++++++++++++++++++++----------------- flyio/vaultwarden/fly.toml | 2 +- 2 files changed, 21 insertions(+), 18 deletions(-) diff --git a/flyio/vaultwarden/flake.nix b/flyio/vaultwarden/flake.nix index 35bb7b9..3fedc74 100644 --- a/flyio/vaultwarden/flake.nix +++ b/flyio/vaultwarden/flake.nix @@ -4,23 +4,26 @@ systems.url = "github:nix-systems/default"; }; - outputs = { - systems, - nixpkgs, - ... - } @ inputs: let - eachSystem = f: - nixpkgs.lib.genAttrs (import systems) ( - system: + outputs = + { systems + , nixpkgs + , ... + } @ inputs: + let + eachSystem = f: + nixpkgs.lib.genAttrs (import systems) ( + system: f nixpkgs.legacyPackages.${system} - ); - in { - devShells = eachSystem (pkgs: { - default = pkgs.mkShell { - packages =[ + ); + in + { + devShells = eachSystem (pkgs: { + default = pkgs.mkShell { + packages = [ pkgs.flyctl - ]; - }; - }); - }; + pkgs.doppler + ]; + }; + }); + }; } diff --git a/flyio/vaultwarden/fly.toml b/flyio/vaultwarden/fly.toml index 8cc7b32..694b7ca 100644 --- a/flyio/vaultwarden/fly.toml +++ b/flyio/vaultwarden/fly.toml @@ -6,7 +6,7 @@ kill_timeout = "5s" auto_rollback = true [build] -image = "ghcr.io/dani-garcia/vaultwarden:1.30.5:sha256:edb8e2bab9cbca22e555638294db9b3657ffbb6e5d149a29d7ccdb243e3c71e0" +image = "ghcr.io/dani-garcia/vaultwarden:1.30.5@sha256:3d9d937b29281dc251ecae06e627b03d34a2c85d2ed876bf4d1ffe695836f864" [env] DATABASE_URL = "data/db.sqlite3"