Skip to content

Commit

Permalink
chore: clarify the outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
GTrunSec committed Oct 17, 2023
1 parent d37cbf2 commit bf6d0e2
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 15 deletions.
6 changes: 3 additions & 3 deletions templates/nixos/flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions templates/nixos/nix/lib/exporter/flakeOutputs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ in
local = eachSystem (
system:
let
inputs' = (super.inputs.setSystem system).outputs;
inputs' = (super.pops.flake.setSystem system).inputs;
dataAll =
(super.pops.omnibus.lib.addLoadExtender { load.inputs.inputs = inputs'; })
.layouts.default.exporter.pops.loadDataAll;
.layouts.default.exporter.pops.dataAll;
in
{
data =
Expand All @@ -37,7 +37,7 @@ in
packages = eachSystem (
system:
let
inputs = (super.inputs.setSystem system).outputs;
inputs = (super.pops.flake.setSystem system).inputs;
in
(
(flops.haumea.pops.default.setInit {
Expand Down
17 changes: 8 additions & 9 deletions templates/nixos/nixos/hosts/nixos/layouts.nix
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
let
outputs = inputs.self;
self' = inputs.self.hosts.nixos;
in
# self' = inputs.self.hosts.nixos;
{
system = "x86_64-linux";

data = outputs.data.default;
data = outputs.local.${self.system}.data;

nixosSuites = lib.flatten [
self'.nixosProfiles.bootstrap
outputs.hosts.nixos.nixosProfiles.bootstrap

outputs.nixosProfiles.presets.boot
# outputs.nixosModules.default.programs.git

# # # --custom profiles
# outputs.nixosProfiles.customProfiles.presets.nix
# outputs.nixosProfiles.customProfiles.presets.boot
# outputs.nixosModules.customModules.boot
# outputs.pops.nixosProfiles.layouts.customProfiles.presets.nix
# outputs.pops.nixosProfiles.layouts.customProfiles.presets.boot
# outputs.pops.nixosModules.layouts.customModules.boot

# outputs.srvos.default.common.nix
(outputs.omnibus.lib.mkHome
Expand All @@ -35,9 +35,8 @@ in

homeSuites = [
outputs.homeProfiles.presets.emacs
# outputs.homeProfiles.default.presets.bat
# outputs.homeProfiles.presets.bat
# # # The parent directory of "presets" is categorized as a list type of "suites"
# (outputs.homeProfiles.default.shell { }).default
# super.pops.homeModules.layouts.default.wayland.windowManager.hyprland
# (outputs.homeProfiles.shell { }).default
];
}

0 comments on commit bf6d0e2

Please sign in to comment.