Added sharkey-service nixos module

This commit is contained in:
Werner Kroneman 2024-12-05 15:33:12 +02:00
parent 73c128dbcb
commit a529950dda
2 changed files with 3 additions and 1 deletions

View file

@ -3,6 +3,8 @@
outputs = { self, nixpkgs }: { outputs = { self, nixpkgs }: {
nixosModules.sharkey-service = ( import ./sharkey-service.nix );
nixosConfigurations.container = nixpkgs.lib.nixosSystem { nixosConfigurations.container = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
modules = modules =

View file

@ -188,7 +188,7 @@ in
options = { options = {
services.sharkey = { services.sharkey = {
enable = lib.mkEnableOption "sharkey"; enable = lib.mkEnableOption "sharkey";
package = (pkgs.callPackage ./sharkey.nix { }); package = lib.mkDefault (pkgs.callPackage ./sharkey.nix { });
inherit settings; inherit settings;
database = { database = {
createLocally = lib.mkOption { createLocally = lib.mkOption {