cleanup: statix
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
lib.nameValuePair "${script.name}"
|
||||
(lib.mkIf (script.enable && script.service) {
|
||||
restartIfChanged = true;
|
||||
description = script.description;
|
||||
inherit (script) description;
|
||||
wantedBy = [ "default.target" ];
|
||||
path = [ pkgs.nix script.package ];
|
||||
serviceConfig = {
|
||||
@@ -51,7 +51,7 @@
|
||||
lib.nameValuePair "${script.name}"
|
||||
(lib.mkIf (script.enable && script.service) {
|
||||
enable = true;
|
||||
description = script.description;
|
||||
inherit (script) description;
|
||||
wantedBy = [ "timers.target" ];
|
||||
timerConfig = { OnCalendar = script.timer; };
|
||||
})) config.my.scripts;
|
||||
|
||||
@@ -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