45 lines
942 B
Nix
45 lines
942 B
Nix
{
|
|
config,
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}:
|
|
let
|
|
p = import ../parameters.nix;
|
|
in
|
|
{
|
|
|
|
age.secrets = {
|
|
firefly-iii-app-key = {
|
|
file = ../../secrets/firefly-iii-app-key.age;
|
|
owner = config.services.firefly-iii.user;
|
|
group = config.services.firefly-iii.group;
|
|
};
|
|
scaleway-password = {
|
|
file = ../../secrets/scaleway-password.age;
|
|
owner = config.services.firefly-iii.user;
|
|
group = config.services.firefly-iii.group;
|
|
};
|
|
};
|
|
|
|
my = {
|
|
utils = {
|
|
commons.enable = true;
|
|
lxc-standard.enable = true;
|
|
};
|
|
|
|
services.firefly-iii = {
|
|
enable = true;
|
|
accessToken = config.age.secrets.firefly-iii-app-key.path;
|
|
mail_password_file = config.age.secrets.scaleway-password.path;
|
|
proxy.domain = p.domains.public;
|
|
};
|
|
|
|
virtualisation.proxmox.enable = true;
|
|
};
|
|
|
|
# Extra packages
|
|
environment.systemPackages = with pkgs; [ ];
|
|
|
|
system.stateVersion = "24.11";
|
|
}
|