mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-30 22:57:55 +00:00
hosts/ni/services/download-media: update service config and re-enable it
This commit is contained in:
parent
15dc3b7b6b
commit
51bdedf26c
@ -21,6 +21,7 @@
|
||||
services.monitoring.enable = true;
|
||||
services.mail-archive.enable = true;
|
||||
services.reverse-proxy.enable = true;
|
||||
services.download-media.enable = true;
|
||||
setups = {
|
||||
desktop.enable = true;
|
||||
development.enable = true;
|
||||
|
@ -1,9 +1,10 @@
|
||||
{ config, lib, pkgs, foodogsquaredLib, ... }:
|
||||
|
||||
let
|
||||
inherit (foodogsquaredLib.sops-nix) getSecrets attachSopsPathPrefix;
|
||||
hostCfg = config.hosts.ni;
|
||||
cfg = hostCfg.services.download-media;
|
||||
mountName = "/mnt/archives";
|
||||
mountName = "/media/laptop-ssd/Archives";
|
||||
|
||||
deviantArt = name: "https://deviantart.com/${name}";
|
||||
artStation = name: "https://www.artstation.com/${name}";
|
||||
@ -97,16 +98,11 @@ in
|
||||
lib.listToAttrs jobsList;
|
||||
in
|
||||
{
|
||||
sops.secrets = foodogsquaredLib.sops-nix.getSecrets ./secrets.yaml
|
||||
(lib.attachSopsPathPrefix pathPrefix {
|
||||
sops.secrets = getSecrets ./secrets.yaml
|
||||
(attachSopsPathPrefix pathPrefix {
|
||||
"secrets-config" = { };
|
||||
});
|
||||
|
||||
# This is to make an exception for Archivebox.
|
||||
nixpkgs.config.permittedInsecurePackages = [
|
||||
"python3.12-django-3.1.14"
|
||||
];
|
||||
|
||||
suites.filesystem.setups.archive.enable = true;
|
||||
|
||||
services.yt-dlp = {
|
||||
@ -211,6 +207,8 @@ in
|
||||
prependArgs = galleryDlArgs;
|
||||
};
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [ archivebox ];
|
||||
}
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user