working filebrowser for jelly files
This commit is contained in:
parent
4d27e802d8
commit
b8e5166a0f
|
@ -118,6 +118,7 @@
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
|
# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
|
||||||
# wget
|
# wget
|
||||||
|
filebrowser
|
||||||
git
|
git
|
||||||
helix
|
helix
|
||||||
nil
|
nil
|
||||||
|
|
|
@ -2,19 +2,20 @@
|
||||||
|
|
||||||
let
|
let
|
||||||
domain = "files.sondell.org";
|
domain = "files.sondell.org";
|
||||||
# derp = "hi";
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
#
|
systemd.services.filebrowser = with pkgs; {
|
||||||
# services.audiobookshelf = {
|
|
||||||
# enable = true;
|
|
||||||
# port = 8000;
|
|
||||||
# };
|
|
||||||
systemd.services.fileBrowser = with pkgs; {
|
|
||||||
enable = true;
|
enable = true;
|
||||||
description = "web app file explorer";
|
description = "web app file explorer";
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
serviceConfig.ExecStart = "${filebrowser}/bin/filebrowser -r /mnt/media_drive";
|
unitConfig = {
|
||||||
|
After="network-online.target";
|
||||||
|
};
|
||||||
|
serviceConfig = {
|
||||||
|
ExecStart = "${filebrowser}/bin/filebrowser -r /mnt/movie_drive -d /var/lib/filebrowser/filebrowser.db";
|
||||||
|
User= "jellyfin";
|
||||||
|
Type= "simple";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,14 @@
|
||||||
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
|
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
specialArgs = attrs;
|
specialArgs = attrs;
|
||||||
modules = [ ./configuration.nix ./forgejo.nix ./nextcloud.nix ./audiobooks.nix ./jellyfin.nix ];
|
modules = [
|
||||||
|
./configuration.nix
|
||||||
|
./forgejo.nix
|
||||||
|
./nextcloud.nix
|
||||||
|
./audiobooks.nix
|
||||||
|
./jellyfin.nix
|
||||||
|
./filebrowser.nix
|
||||||
|
];
|
||||||
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue