Skip to content

Commit

Permalink
chore: reorg paths
Browse files Browse the repository at this point in the history
  • Loading branch information
GTrunSec committed Oct 4, 2023
1 parent 7188078 commit 2346609
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 9 deletions.
2 changes: 1 addition & 1 deletion templates/nixos/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
{
lib =
(inputs.omnibus.exporters.addLoadExtender {
src = ./lib;
src = ./nix/lib;
inputs = {
inherit inputs eachSystem;
omnibus = inputs.omnibus.lib;
Expand Down
1 change: 1 addition & 0 deletions templates/nixos/local/secrets/age/test.age
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
plaintext
1 change: 1 addition & 0 deletions templates/nixos/local/secrets/sops/plaintext.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
test: xxx
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ in
{
hosts =
(inputs.omnibus.exporters.addLoadExtender {
src = ../nixos/hosts;
src = ../../nixos/hosts;
inputs = inputs // {
self'.lib = super;
omnibus = inputs.omnibus.lib // {
Expand All @@ -34,7 +34,8 @@ in
}).outputs.default.loadDataAll;
in
{
data = (loadDataAll.addLoadExtender { src = ../local/data; }).outputs.default;
data =
(loadDataAll.addLoadExtender { src = ../../local/data; }).outputs.default;
}
);

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,29 +1,31 @@
{
loadHomeModules =
(omnibus.loadHomeModules.addLoadExtender { src = ../nixos/homeModules; });
(omnibus.loadHomeModules.addLoadExtender { src = ../../nixos/homeModules; });

loadHomeProfiles =
(omnibus.loadHomeProfiles.addLoadExtender {
src = ../nixos/homeProfiles;
src = ../../nixos/homeProfiles;
inputs = {
homeModules = self.loadHomeModules.outputs.default;
};
});

loadNixOSProfiles =
(omnibus.loadNixOSProfiles.addLoadExtender {
src = ../nixos/nixosProfiles;
src = ../../nixos/nixosProfiles;
inputs = {
nixosModules = self.loadNixOSModules.outputs.default;
};
});

loadNixOSModules =
(omnibus.loadNixOSModules.addLoadExtender { src = ../nixos/nixosModules; });
(omnibus.loadNixOSModules.addLoadExtender { src = ../../nixos/nixosModules; });

loadDarwinProfiles =
(omnibus.loadNixOSProfiles.addLoadExtender { src = ../nixos/darwinProfiles; });
(omnibus.loadNixOSProfiles.addLoadExtender {
src = ../../nixos/darwinProfiles;
});

loadDarwinModules =
(omnibus.loadNixOSModules.addLoadExtender { src = ../nixos/darwinModules; });
(omnibus.loadNixOSModules.addLoadExtender { src = ../../nixos/darwinModules; });
}
File renamed without changes.
File renamed without changes.

0 comments on commit 2346609

Please sign in to comment.