add sops-nix dependency
This commit is contained in:
parent
fe1537735d
commit
e1f8c6cc3b
3 changed files with 9 additions and 4 deletions
|
|
@ -13,12 +13,11 @@
|
|||
# limitations under the License.
|
||||
{
|
||||
root,
|
||||
lib,
|
||||
system,
|
||||
_cerulean,
|
||||
...
|
||||
} @ args: {
|
||||
imports =
|
||||
imports = with _cerulean.inputs;
|
||||
[
|
||||
# add support for `options.legacyImports`
|
||||
# ./legacy-imports.nix
|
||||
|
|
@ -27,6 +26,9 @@
|
|||
(import (root + "/nixpkgs.nix"))
|
||||
# options declarations
|
||||
(import ./nixpkgs.nix (args // {contextName = "hosts";}))
|
||||
|
||||
sops-nix.nixosModules.sops
|
||||
# microvm.nixosModules.microvm
|
||||
]
|
||||
++ (
|
||||
if _cerulean.homeManager != null
|
||||
|
|
|
|||
|
|
@ -112,8 +112,6 @@ in
|
|||
[
|
||||
self.nixosModules.default
|
||||
(findImport (root + "/hosts/${name}"))
|
||||
|
||||
# inputs.microvm.nixosModules.microvm
|
||||
]
|
||||
++ (groupModules root)
|
||||
++ node.modules
|
||||
|
|
|
|||
|
|
@ -32,6 +32,11 @@
|
|||
url = "github:microvm-nix/microvm.nix";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
sops-nix = {
|
||||
url = "github:Mic92/sops-nix";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue