Lots of user changes and also Spacebar
This commit is contained in:
parent
b5ec4cbf68
commit
36c3f778c8
19 changed files with 69 additions and 43 deletions
|
@ -1,6 +1,9 @@
|
|||
{ config, lib, ... }:
|
||||
{
|
||||
imports = [ ./nginx ];
|
||||
imports = [
|
||||
./nginx
|
||||
./user
|
||||
];
|
||||
|
||||
config = lib.mkIf config.system.fileserver.enable {
|
||||
services.jellyfin.enable = true;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ config, lib, ... }:
|
||||
{
|
||||
services.nginx.virtualHosts."jelly.nixfox.ca" = lib.mkIf config.services.forgejo.enable {
|
||||
services.nginx.virtualHosts."jelly.nixfox.ca" = lib.mkIf config.services.jellyfin.enable {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
locations."/" = {
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
{ config, lib, ... }:
|
||||
{
|
||||
users = lib.mkIf config.services.jellyfin.enable {
|
||||
users.jellyfin = {
|
||||
group = "jellyfin";
|
||||
extraGroups = [ "nfsShare" ];
|
||||
isSystemUser = true;
|
||||
uid = 983;
|
||||
};
|
||||
groups.jellyfin = {};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue