This commit is contained in:
truxnell 2024-04-24 12:41:32 +10:00
parent 212d64f6e7
commit b90ce48b61
2 changed files with 21 additions and 18 deletions

View file

@ -4,21 +4,24 @@
systems.url = "github:nix-systems/default"; systems.url = "github:nix-systems/default";
}; };
outputs = { outputs =
systems, { systems
nixpkgs, , nixpkgs
... , ...
} @ inputs: let } @ inputs:
let
eachSystem = f: eachSystem = f:
nixpkgs.lib.genAttrs (import systems) ( nixpkgs.lib.genAttrs (import systems) (
system: system:
f nixpkgs.legacyPackages.${system} f nixpkgs.legacyPackages.${system}
); );
in { in
{
devShells = eachSystem (pkgs: { devShells = eachSystem (pkgs: {
default = pkgs.mkShell { default = pkgs.mkShell {
packages =[ packages = [
pkgs.flyctl pkgs.flyctl
pkgs.doppler
]; ];
}; };
}); });

View file

@ -6,7 +6,7 @@ kill_timeout = "5s"
auto_rollback = true auto_rollback = true
[build] [build]
image = "ghcr.io/dani-garcia/vaultwarden:1.30.5:sha256:edb8e2bab9cbca22e555638294db9b3657ffbb6e5d149a29d7ccdb243e3c71e0" image = "ghcr.io/dani-garcia/vaultwarden:1.30.5@sha256:3d9d937b29281dc251ecae06e627b03d34a2c85d2ed876bf4d1ffe695836f864"
[env] [env]
DATABASE_URL = "data/db.sqlite3" DATABASE_URL = "data/db.sqlite3"