update flake, changes to template
This commit is contained in:
parent
ad63f6f0df
commit
cb747de19a
6 changed files with 67 additions and 50 deletions
13
flake.nix
13
flake.nix
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue