Skip to content

Commit

Permalink
refactor: done the minor version
Browse files Browse the repository at this point in the history
  • Loading branch information
GTrunSec committed Sep 20, 2023
1 parent fbcf184 commit 0fd8b8a
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 15 deletions.
2 changes: 1 addition & 1 deletion examples/nixos/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ in
exporter.nixosProfiles.customProfiles.nix
exporter.nixosProfiles.customProfiles.boot

(selfLib.mkHome
(POS.lib.mkHome
{
admin = {
uid = 1000;
Expand Down
2 changes: 1 addition & 1 deletion examples/nixos/pops/homeModules.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(loadHomeModules.addLoadExtender { inputs = super.inputs.outputs // { }; })
(POS.loadHomeModules.addLoadExtender { inputs = super.inputs.outputs // { }; })
.addExporters
[
(POP.extendPop flops.haumea.pops.exporter (
Expand Down
2 changes: 1 addition & 1 deletion examples/nixos/pops/homeProfiles.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(loadHomeProfiles.addLoadExtender {
(POS.loadHomeProfiles.addLoadExtender {
inputs = super.inputs.outputs // {
POS = {
homeModules = super.homeModules.outputsForTarget.nixosModules;
Expand Down
2 changes: 1 addition & 1 deletion examples/nixos/pops/inputs.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(loadInputs.addInputsExtender (
(POS.loadInputs.addInputsExtender (
POP.extendPop flops.flake.pops.inputsExtender (
self: super: { inputs.nixpkgs = nixpkgs.legacyPackages; }
)
Expand Down
2 changes: 1 addition & 1 deletion examples/nixos/pops/nixosModules.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(loadNixOSModules.addLoadExtender { inputs = super.inputs.outputs // { }; })
(POS.loadNixOSModules.addLoadExtender { inputs = super.inputs.outputs // { }; })
.addExporters
[
(POP.extendPop flops.haumea.pops.exporter (
Expand Down
2 changes: 1 addition & 1 deletion examples/nixos/pops/nixosProfiles.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(loadNixOSProfiles.addLoadExtender {
(POS.loadNixOSProfiles.addLoadExtender {
inputs = super.inputs.outputs // {
POS = {
nixosModules = super.nixosModules.outputsForTarget.nixosModules;
Expand Down
20 changes: 11 additions & 9 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -65,20 +65,22 @@
loader = with haumea.lib; loaders.scoped;
src = ./examples;
inputs = {
inherit
loadNixOSModules
loadHomeModules
loadHomeProfiles
loadNixOSProfiles
loadInputs
nixpkgs
;
inherit nixpkgs;
lib = nixpkgs.lib // builtins;
flops = flops.lib;
haumea = flops.inputs.haumea.lib;
dmerge = flops.inputs.dmerge;
POP = POP.lib;
selfLib = lib.outputsForTarget.default;
POS = {
lib = lib.outputsForTarget.default;
inherit
loadNixOSModules
loadHomeModules
loadHomeProfiles
loadNixOSProfiles
loadInputs
;
};
};
};
nixosConfigurations =
Expand Down

0 comments on commit 0fd8b8a

Please sign in to comment.