working filebrowser for jelly files
This commit is contained in:
parent
4d27e802d8
commit
b8e5166a0f
|
@ -118,6 +118,7 @@
|
|||
environment.systemPackages = with pkgs; [
|
||||
# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
|
||||
# wget
|
||||
filebrowser
|
||||
git
|
||||
helix
|
||||
nil
|
||||
|
|
|
@ -2,19 +2,20 @@
|
|||
|
||||
let
|
||||
domain = "files.sondell.org";
|
||||
# derp = "hi";
|
||||
in
|
||||
{
|
||||
#
|
||||
# services.audiobookshelf = {
|
||||
# enable = true;
|
||||
# port = 8000;
|
||||
# };
|
||||
systemd.services.fileBrowser = with pkgs; {
|
||||
systemd.services.filebrowser = with pkgs; {
|
||||
enable = true;
|
||||
description = "web app file explorer";
|
||||
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 {
|
||||
system = "x86_64-linux";
|
||||
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