Added sharkey-service nixos module
This commit is contained in:
parent
73c128dbcb
commit
a529950dda
|
|
@ -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 =
|
||||||
|
|
|
||||||
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue