wip
This commit is contained in:
parent
6636a7cb3a
commit
3956f6b143
2 changed files with 6 additions and 3 deletions
|
|
@ -7,7 +7,7 @@
|
|||
};
|
||||
|
||||
outputs =
|
||||
inputs@{ flake-parts, ... }:
|
||||
inputs@{ self, flake-parts, ... }:
|
||||
flake-parts.lib.mkFlake { inherit inputs; } {
|
||||
systems = [
|
||||
"x86_64-linux"
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
"x86_64-darwin"
|
||||
];
|
||||
flake.nixosModules = {
|
||||
default = ./modules/actualbudget-report;
|
||||
default = (import ./modules/actualbudget-report) self;
|
||||
};
|
||||
perSystem =
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
self:
|
||||
{
|
||||
config,
|
||||
options,
|
||||
|
|
@ -20,7 +21,9 @@ in
|
|||
options = {
|
||||
services.actualbudget-report = {
|
||||
enable = mkEnableOption "Actualbudget email reports";
|
||||
package = mkPackageOption pkgs.default;
|
||||
package = mkPackageOption pkgs "actualbudget-report" {
|
||||
default = self.packages.${pkgs.stdenv.hostPlatform.system}.default;
|
||||
};
|
||||
interval = {
|
||||
type = types.str;
|
||||
default = "Sun 12:00:00";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue