flake: switch to nixos-unstable
This commit is contained in:
parent
16be2ec243
commit
586af7a61f
5 changed files with 30 additions and 48 deletions
|
|
@ -125,7 +125,7 @@
|
|||
"${lib.getExe inputs.nixpkgs-pin.legacyPackages.${pkgs.stdenv.hostPlatform.system}.graalvm-ce}"
|
||||
"-Xmx1G -Xms1G -XX:+UseG1GC -XX:G1HeapRegionSize=4M -XX:+UnlockExperimentalVMOptions -XX:+ParallelRefProcEnabled -XX:+AlwaysPreTouch -XX:MaxInlineLevel=15"
|
||||
"-Dvelocity.max-known-packs=264"
|
||||
"-jar /var/lib/velocity/velocity-3.4.0-SNAPSHOT-558.jar"
|
||||
"-jar ${pkgs.velocity}/share/velocity/velocity.jar"
|
||||
];
|
||||
Type = "exec";
|
||||
Restart = "always";
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{ inputs, config, pkgs, ... }:
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
sops.secrets = {
|
||||
|
|
@ -20,12 +20,12 @@
|
|||
caddy = {
|
||||
enable = true;
|
||||
# use unstable for caddy-tailscale
|
||||
package = inputs.nixpkgs-unstable.legacyPackages.${pkgs.stdenv.hostPlatform.system}.caddy.withPlugins {
|
||||
package = pkgs.caddy.withPlugins {
|
||||
plugins = [
|
||||
"github.com/WeidiDeng/caddy-cloudflare-ip@v0.0.0-20231130002422-f53b62aa13cb"
|
||||
"github.com/tailscale/caddy-tailscale@v0.0.0-20251117033914-662ef34c64b1"
|
||||
"github.com/tailscale/caddy-tailscale@v0.0.0-20260106222316-bb080c4414ac"
|
||||
];
|
||||
hash = "sha256-4A61SjbnaQNVbbhfGsr+WUtpmm1YGY1n0wjfDdrcYWg=";
|
||||
hash = "sha256-ST0MYExPlBbZt2xyFfyMdQRq5n06dgwOZkEeGO8dDeA=";
|
||||
};
|
||||
environmentFile = config.sops.secrets."caddy/secrets.env".path;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue