cleanup: statix
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{ lib, config, pkgs, serviceBase, ... }:
|
||||
let
|
||||
localhost = config.my.localhost;
|
||||
inherit (config.my) localhost;
|
||||
port = 8096;
|
||||
in {
|
||||
options.my.servers.jellyfin = {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{ lib, config, pkgs, ... }:
|
||||
let
|
||||
localhost = config.my.localhost;
|
||||
inherit (config.my) localhost;
|
||||
collaboraPort = 9980;
|
||||
url = "cloud.${config.my.domain}";
|
||||
collaboraProxy = "http://${localhost}:${toString collaboraPort}";
|
||||
@@ -36,7 +36,7 @@ in {
|
||||
users.users.nextcloud = {
|
||||
isSystemUser = true;
|
||||
extraGroups = [ "render" ];
|
||||
packages = (with pkgs; [
|
||||
packages = with pkgs; [
|
||||
mediainfo
|
||||
nodejs
|
||||
(python3.withPackages (ps: with ps; [ tensorflow ]))
|
||||
@@ -49,7 +49,7 @@ in {
|
||||
hash = "sha256-TLJSJEXMPj870TkExq6uraX8Wl4kmNerrSlX3LQsr/4=";
|
||||
};
|
||||
})
|
||||
]);
|
||||
];
|
||||
};
|
||||
programs.msmtp = {
|
||||
enable = true;
|
||||
|
||||
@@ -35,7 +35,7 @@ in {
|
||||
ensureDatabases = dbNames;
|
||||
package = pkgs.postgresql_16;
|
||||
ensureUsers = map (name: {
|
||||
name = name;
|
||||
inherit name;
|
||||
ensureDBOwnership = true;
|
||||
}) dbNames;
|
||||
authentication = pkgs.lib.mkOverride 10 ''
|
||||
|
||||
Reference in New Issue
Block a user