diff --git a/flake.nix b/flake.nix index e32d28bea5..ab9746b44e 100644 --- a/flake.nix +++ b/flake.nix @@ -3,6 +3,8 @@ outputs = { self, nixpkgs }: { + nixosModules.sharkey-service = ( import ./sharkey-service.nix ); + nixosConfigurations.container = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; modules = diff --git a/sharkey-service.nix b/sharkey-service.nix index 4f5551086c..7663ae209d 100644 --- a/sharkey-service.nix +++ b/sharkey-service.nix @@ -188,7 +188,7 @@ in options = { services.sharkey = { enable = lib.mkEnableOption "sharkey"; - package = (pkgs.callPackage ./sharkey.nix { }); + package = lib.mkDefault (pkgs.callPackage ./sharkey.nix { }); inherit settings; database = { createLocally = lib.mkOption {