Lots of user changes and also Spacebar

This commit is contained in:
Bun 2025-03-14 18:23:32 -04:00
parent b5ec4cbf68
commit 36c3f778c8
19 changed files with 69 additions and 43 deletions

View file

@ -1,6 +1,9 @@
{ config, lib, ... }:
{
imports = [ ./nginx ];
imports = [
./nginx
./user
];
config = lib.mkIf config.system.fileserver.enable {
services.jellyfin.enable = true;

View file

@ -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."/" = {

View file

@ -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 = {};
};
}