box zfs
This commit is contained in:
@@ -1,4 +1,10 @@
|
||||
{ config, options, lib, pkgs, ... }:
|
||||
{
|
||||
config,
|
||||
options,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
# cfg = config.services.archivebox;
|
||||
@@ -7,9 +13,8 @@ let
|
||||
port = "8123";
|
||||
in
|
||||
{
|
||||
nixpkgs.config.permittedInsecurePackages = [
|
||||
"python3.10-django-3.1.14"
|
||||
];
|
||||
# Note: permittedInsecurePackages must be set in flake.nix nixpkgsFor config
|
||||
# if archivebox still requires python3.10-django-3.1.14
|
||||
|
||||
services.nginx.virtualHosts."archive.mossnet.lan" = {
|
||||
enableACME = false;
|
||||
@@ -26,7 +31,10 @@ in
|
||||
systemd.services.archivebox-install = {
|
||||
description = "archivebox install service";
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
path = with pkgs; [ coreutils archivebox ];
|
||||
path = with pkgs; [
|
||||
coreutils
|
||||
archivebox
|
||||
];
|
||||
|
||||
serviceConfig = {
|
||||
User = user;
|
||||
@@ -51,7 +59,10 @@ in
|
||||
systemd.services.archivebox-server = {
|
||||
description = "archivebox server service";
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
path = with pkgs; [ coreutils archivebox ];
|
||||
path = with pkgs; [
|
||||
coreutils
|
||||
archivebox
|
||||
];
|
||||
|
||||
serviceConfig = {
|
||||
User = user;
|
||||
|
||||
Reference in New Issue
Block a user