Skip to content

Commit

Permalink
Add submodule workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
narinari committed Mar 7, 2023
1 parent 3eb9a44 commit 593ce95
Show file tree
Hide file tree
Showing 3 changed files with 73 additions and 3 deletions.
4 changes: 2 additions & 2 deletions common/users/narinari/home-manager/zsh.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ config, lib, pkgs, ... }: {
age.secrets.work_env.file = ../../../../secrets/work/env.age;
{ config, lib, pkgs, flake, ... }: {
age.secrets.work_env.file = "${flake.inputs.my-secrets.outPath}/work/env.age";
programs.zsh = {
enable = true;
enableAutosuggestions = true;
Expand Down
64 changes: 64 additions & 0 deletions flake.lock

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

8 changes: 7 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,16 @@
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-utils.follows = "utils";
};

my-secrets = {
url = "path:./secrets";
inputs.nixpkgs.follows = "nixpkgs";
};
};

# add the inputs declared above to the argument attribute set
outputs = { self, nixpkgs, home-manager, darwin, utils, agenix, ... }@inputs:
outputs = { self, nixpkgs, home-manager, darwin, utils, agenix, my-secrets
, ... }@inputs:
let
inherit (self) outputs;
inherit (nixpkgs.lib) recursiveUpdate;
Expand Down

0 comments on commit 593ce95

Please sign in to comment.