WIP: Firefly-iii. Missing auth with Authentik
This commit is contained in:
parent
8174cc5756
commit
952a3da61d
9 changed files with 252 additions and 0 deletions
41
hosts/firefly-iii/default.nix
Normal file
41
hosts/firefly-iii/default.nix
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
{
|
||||
|
||||
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;
|
||||
};
|
||||
firefly-iii-mailgun-key = {
|
||||
file = ../../secrets/firefly-iii-mailgun-key.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;
|
||||
mailgun_key = config.age.secrets.firefly-iii-mailgun-key.path;
|
||||
};
|
||||
|
||||
virtualisation.proxmox.enable = true;
|
||||
};
|
||||
|
||||
# Extra packages
|
||||
environment.systemPackages = with pkgs; [ ];
|
||||
|
||||
system.stateVersion = "24.11";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue