convert h001 to new flake module style

This commit is contained in:
RingOfStorms (Joshua Bell) 2025-11-08 23:41:28 +00:00
parent 82a3c325cf
commit 0f2b6ca253
6 changed files with 284 additions and 730 deletions

View file

@ -1,10 +1,22 @@
{
lib,
inputs,
...
}:
let
declaration = "services/misc/pinchflat.nix";
nixpkgs = inputs.pinchflat-nixpkgs;
pkgs = import nixpkgs {
system = "x86_64-linux";
config.allowUnfree = true;
};
in
{
disabledModules = [ declaration ];
imports = [ "${nixpkgs}/nixos/modules/${declaration}" ];
config = {
services.pinchflat = {
package = pkgs.pinchflat;
enable = true;
port = 8945;
selfhosted = true;