Skip to content

Commit

Permalink
chore: enrich examples
Browse files Browse the repository at this point in the history
  • Loading branch information
GTrunSec committed Oct 3, 2023
1 parent 2785198 commit 50816c8
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 5 deletions.
22 changes: 17 additions & 5 deletions examples/haumea.nix
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,23 @@ let
[
(extendPop pops.exporter (
self: super: {
exports.customModules = self.outputs.dmerge {
config.services.openssh.enable = false;
config.services.openssh.customList = [ "1" ];
imports = with dmerge; append [ ];
};
exports.customModules = self.outputs.__extenders [ {
value =
{ selfModule' }:
selfModule' (
m:
dmerge m {
config.services.openssh.enable = false;
config.services.openssh.customList = [ "1" ];
imports = with dmerge; append [ ];
}
);

path = [
"services"
"openssh"
];
} ];
}
))
];
Expand Down
1 change: 1 addition & 0 deletions src/haumea/pops.nix
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ let
self.outputs.default
;
})
// (removeAttrs self.exports [ "default" ])
);
};
};
Expand Down

0 comments on commit 50816c8

Please sign in to comment.