update flake, changes to template

This commit is contained in:
Jonas Heinrich 2025-01-07 10:08:03 +01:00
parent ad63f6f0df
commit cb747de19a
6 changed files with 67 additions and 50 deletions

View file

@ -1,7 +1,8 @@
{
description = "Invoiceplane invoice template development shell";
inputs.nixpkgs.url = "nixpkgs/nixos-24.11";
#inputs.nixpkgs.url = "nixpkgs/nixos-24.11";
inputs.nixpkgs.url = "github:onny/nixpkgs/invoiceplane-https";
outputs = { self, nixpkgs, ... }@inputs:
let
@ -33,12 +34,18 @@
services.invoiceplane.sites."localhost" = {
enable = true;
settings.IP_URL = "http://localhost:8080";
settings = {
IP_URL = "http://localhost:8080";
#DISABLE_SETUP = true;
#SETUP_COMPLETED = true;
};
};
services.caddy.virtualHosts."localhost".hostName = "http://localhost";
nixos-shell.mounts.extraMounts = {
"/var/lib/invoiceplane/localhost/pdf" = {
target = /home/onny/projects/invoiceplane-heinrichmalerbetrieb;
target = ./.;
cache = "none";
};
};