mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-19 19:27:31 -08:00
move jellyfin to torus
This commit is contained in:
parent
1edff2811f
commit
aee4e5ff5c
@ -10,6 +10,7 @@
|
|||||||
./gitea.nix
|
./gitea.nix
|
||||||
./nextcloud.nix
|
./nextcloud.nix
|
||||||
./backup.nix
|
./backup.nix
|
||||||
|
./jellyfin.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# Use normal kernel
|
# Use normal kernel
|
||||||
@ -99,9 +100,6 @@
|
|||||||
programs = {
|
programs = {
|
||||||
chezmoi.apply = true;
|
chezmoi.apply = true;
|
||||||
};
|
};
|
||||||
services = {
|
|
||||||
jellyfin.enable = true;
|
|
||||||
};
|
|
||||||
system = {
|
system = {
|
||||||
backup.enable = true;
|
backup.enable = true;
|
||||||
terminal.enable = true;
|
terminal.enable = true;
|
||||||
|
6
provision/hosts/torus/jellyfin.nix
Normal file
6
provision/hosts/torus/jellyfin.nix
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{ config, lib, pkgs, user, ... }:
|
||||||
|
{
|
||||||
|
services.jellyfin.enable = true;
|
||||||
|
services.jellyfin.openFirewall = true;
|
||||||
|
services.jellyfin.user = "${user}";
|
||||||
|
}
|
@ -1,4 +1,4 @@
|
|||||||
{ ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
imports = [ ./jellyfin.nix ./peripherals.nix ./samba-client.nix ./virt-manager.nix ];
|
imports = [ ./peripherals.nix ./samba-client.nix ./virt-manager.nix ];
|
||||||
}
|
}
|
||||||
|
@ -1,11 +0,0 @@
|
|||||||
{ config, lib, pkgs, user, ... }:
|
|
||||||
|
|
||||||
let cfg = config.modules.services.jellyfin;
|
|
||||||
in {
|
|
||||||
options.modules.services.jellyfin.enable = lib.mkEnableOption "jellyfin";
|
|
||||||
config = lib.mkIf cfg.enable {
|
|
||||||
services.jellyfin.enable = true;
|
|
||||||
services.jellyfin.openFirewall = true;
|
|
||||||
services.jellyfin.user = "${user}";
|
|
||||||
};
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user