convert h001 to new flake module style
This commit is contained in:
parent
82a3c325cf
commit
0f2b6ca253
6 changed files with 284 additions and 730 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue