module fix

This commit is contained in:
Robin Appelman 2024-01-07 00:11:44 +01:00
commit bd32b96795
2 changed files with 8 additions and 6 deletions

View file

@ -86,10 +86,12 @@
default = palantir;
};
apps.palantir = utils.lib.mkApp {
apps = rec {
palantir = utils.lib.mkApp {
drv = packages.palantir;
};
defaultApp = apps.palantir;
default = palantir;
};
inherit targets;
releaseMatrix = {
@ -112,7 +114,7 @@
};
})
// {
overlays = import ./overlay.nix;
overlays.default = import ./overlay.nix;
nixosModules.default = {
pkgs,
config,

View file

@ -5,9 +5,9 @@
...
}:
with lib; let
cfg = config.palantir.services.palantir;
cfg = config.services.palantir;
in {
options.palantir.services.palantir = {
options.services.palantir = {
enable = mkEnableOption "Enables the palantir service";
port = mkOption rec {