166 current 2025-10-09 15:08:58 25.05.20251006.20c4598 6.12.50 *
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
# flake for blakes nixos config
|
# flake for blakes nixos config
|
||||||
# define new devices in outputs
|
# define new devices in outputs
|
||||||
# generation: 165 current 2025-10-09 14:23:49 25.05.20251006.20c4598 6.12.50 *
|
# generation: 166 current 2025-10-09 15:08:58 25.05.20251006.20c4598 6.12.50 *
|
||||||
{
|
{
|
||||||
description = "blakes nix config";
|
description = "blakes nix config";
|
||||||
inputs = {
|
inputs = {
|
||||||
|
|||||||
@@ -48,10 +48,10 @@ in
|
|||||||
description = "${service} server user";
|
description = "${service} server user";
|
||||||
uid = lib.mkForce cfg.ids;
|
uid = lib.mkForce cfg.ids;
|
||||||
isSystemUser = true;
|
isSystemUser = true;
|
||||||
# home = cfg.data_dir;
|
home = cfg.data_dir;
|
||||||
# createHome = true;
|
createHome = true;
|
||||||
group = "${service}";
|
group = "${service}";
|
||||||
extraGroups = [ "media" "video" "render" ];
|
extraGroups = [ "video" "render" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
# enable the ${service} service
|
# enable the ${service} service
|
||||||
@@ -60,16 +60,16 @@ in
|
|||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
user = "${service}";
|
user = "${service}";
|
||||||
group = "${service}";
|
group = "${service}";
|
||||||
# mediaLocation = /holocron/vault/users/blake/pictures/immich/upload;
|
mediaLocation = /holocron/vault/users/blake/pictures/immich/upload;
|
||||||
host = "0.0.0.0";
|
host = "0.0.0.0";
|
||||||
port = cfg.port;
|
port = cfg.port;
|
||||||
settings.server.externalDomain = "https://pics.blakedheld.xyz";
|
settings.server.externalDomain = "https://pics.blakedheld.xyz";
|
||||||
};
|
};
|
||||||
|
|
||||||
# override umask to make permissions work out
|
# override umask to make permissions work out
|
||||||
# systemd.services.${service}.serviceConfig = {
|
systemd.services.${service}.serviceConfig = {
|
||||||
# UMask = lib.mkForce "0007";
|
UMask = lib.mkForce "0007";
|
||||||
# };
|
};
|
||||||
|
|
||||||
# # open firewall
|
# # open firewall
|
||||||
# networking.firewall.allowedTCPPorts = [ cfg.port ];
|
# networking.firewall.allowedTCPPorts = [ cfg.port ];
|
||||||
|
|||||||
Reference in New Issue
Block a user