Skip to content

Commit

Permalink
feat(nixosModules): save
Browse files Browse the repository at this point in the history
  • Loading branch information
GTrunSec committed Sep 19, 2023
1 parent 87a6ad8 commit 77702b2
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/nixos/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@
in
[
customProfiles.presets.hyprland.default
self.homeModules.wayland.windowManager.hyprland
# self.homeModules.wayland.windowManager.hyprland
];
}
6 changes: 5 additions & 1 deletion examples/nixos/pops.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ let
(loadNixOSModules.addLoadExtender { inputs = __inputs__.outputs // { }; });

homeProfiles = loadHomeProfiles.addLoadExtender {
inputs = __inputs__.outputs // { };
inputs = __inputs__.outputs // {
POS = {
homeModules = homeModules.outputsForTarget.nixosModules;
};
};
};

selfNixOSProfiles = nixosModules.addLoadExtender {
Expand Down
1 change: 1 addition & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
};
loadHomeProfiles = loadHomeModules.addLoadExtender {
src = ./nixos/homeProfiles;
loader = haumea.lib.loaders.scoped;
type = "default";
};
lib = flops.lib.haumea.pops.default.setInit {
Expand Down
1 change: 1 addition & 0 deletions nixos/homeProfiles/presets/hyprland/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
imports = [ POS.homeModules.wayland.windowManager.hyprland ];
wayland.windowManager.hyprland = {
enable = true;
systemdIntegration = true;
Expand Down

0 comments on commit 77702b2

Please sign in to comment.