Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
150d307020 | ||
|
|
c7888c3f9d | ||
|
|
38ec3c76f7 |
@@ -55,4 +55,3 @@ The module (`nixos-module/default.nix`, `config.services.hortusfox-web`) wires H
|
|||||||
|
|
||||||
- `nix flake check` passes cleanly for all outputs (`packages`, `checks.build`, `checks.vm-test`, `checks.vm-test-caddy`, `overlays`, `nixosModules`, `nixosConfigurations.test`), and the VM actually serves a working, loggable-into site end-to-end for both proxy backends (verified via the automated `vm-test`s and by booting `nixosConfigurations.test` manually and logging in over HTTP with `tests/hortusfox_web_test_password`). Note `tests/default.nix` carries a `fileSystems."/"`/`boot.loader.grub.devices`/`security.acme` stanza purely so `config.system.build.toplevel` (what `nix flake check` builds) evaluates — the VM is actually built and run via `.config.system.build.vm` (see `justfile`'s `build-vm`/`boot-vm`), which doesn't use any of that.
|
- `nix flake check` passes cleanly for all outputs (`packages`, `checks.build`, `checks.vm-test`, `checks.vm-test-caddy`, `overlays`, `nixosModules`, `nixosConfigurations.test`), and the VM actually serves a working, loggable-into site end-to-end for both proxy backends (verified via the automated `vm-test`s and by booting `nixosConfigurations.test` manually and logging in over HTTP with `tests/hortusfox_web_test_password`). Note `tests/default.nix` carries a `fileSystems."/"`/`boot.loader.grub.devices`/`security.acme` stanza purely so `config.system.build.toplevel` (what `nix flake check` builds) evaluates — the VM is actually built and run via `.config.system.build.vm` (see `justfile`'s `build-vm`/`boot-vm`), which doesn't use any of that.
|
||||||
- Upstream's own templates still emit a `PHP Deprecated: htmlspecialchars(): Passing null to parameter #1` notice on some pages (PHP 8.1+ deprecation for `htmlspecialchars(null)`). Harmless and not something this repo can fix — it's app code, not packaging.
|
- Upstream's own templates still emit a `PHP Deprecated: htmlspecialchars(): Passing null to parameter #1` notice on some pages (PHP 8.1+ deprecation for `htmlspecialchars(null)`). Harmless and not something this repo can fix — it's app code, not packaging.
|
||||||
- `flake.nix.bk` is a stale, syntactically-broken (extra paren) prior draft of `flake.nix`, kept around for reference; it's not a flake input and isn't loaded by anything.
|
|
||||||
|
|||||||
-44
@@ -1,44 +0,0 @@
|
|||||||
{
|
|
||||||
description = "HortusFox — self-hosted plant manager, from source";
|
|
||||||
|
|
||||||
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
||||||
inputs.flake-utils.url = "github:numtide/flake-utils";
|
|
||||||
|
|
||||||
outputs = { self, nixpkgs, flake-utils }:
|
|
||||||
flake-utils.lib.eachDefaultSystem (system:
|
|
||||||
let
|
|
||||||
systems = [ "x86_64-linux" "aarch64-linux" ];
|
|
||||||
forEachSystem = nixpkgs.lib.genAttrs systems;
|
|
||||||
pkgs = nixpkgs.legacyPackages.${system};
|
|
||||||
|
|
||||||
overlayList = [ self.overlays.default ];
|
|
||||||
|
|
||||||
pkgsBySystem = forEachSystem (
|
|
||||||
system:
|
|
||||||
import nixpkgs {
|
|
||||||
inherit system;
|
|
||||||
overlays = overlayList;
|
|
||||||
}
|
|
||||||
);
|
|
||||||
|
|
||||||
in {
|
|
||||||
nixosConfigurations.test = nixpkgs.lib.nixosSystem {
|
|
||||||
inherit system;
|
|
||||||
modules = [ ./tests ];
|
|
||||||
});
|
|
||||||
|
|
||||||
overlays.default = final: prev: { hortusfox-web = final.callPackage ./package.nix { }; };
|
|
||||||
|
|
||||||
packages = {
|
|
||||||
hortusfox-web = pkgs.${system}.hortusfox-web;
|
|
||||||
default = pkgs.${system}.hortusfox-web;
|
|
||||||
};
|
|
||||||
|
|
||||||
nixosModules.default = import ./nixos-module { overlays = overlayList; };
|
|
||||||
|
|
||||||
# Handy for `nix flake check` on a throwaway host
|
|
||||||
checks = forEachSystem (system: {
|
|
||||||
build = pkgsBySystem.${system}.hortusfox-web;
|
|
||||||
});
|
|
||||||
};
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user